You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @radshag,
I am trying to build given sample project by adding the ios platform it fail to build. Getting following logs:
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:34:34: error: no visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:'
self = (DGGeofencing_)[super initWithWebView:(UIWebView_)theWebView];
~~~~~ ^~~~~~~~~~~~~~~
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:81:61: warning: 'regionMonitoringAvailable' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
BOOL regionMonitoringAvailable = [CLLocationManager regionMonitoringAvailable];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:142:1: note: 'regionMonitoringAvailable' has been explicitly marked deprecated here
(BOOL)regionMonitoringAvailable __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_7,__MAC_NA,__IPHONE_4_0,__IPHONE_7_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED;
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:100:36: warning: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:65:2: note: 'kCLAuthorizationStatusAuthorized' has been explicitly marked deprecated here
kCLAuthorizationStatusAuthorized NS_ENUM_DEPRECATED(10_6, NA, 2_0, 8_0, "Use kCLAuthorizationStatusAuthorizedAlways") __TVOS_PROHIBITED __WATCHOS_PROHIBITED = kCLAuthorizationStatusAuthorizedAlways
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:103:59: warning: 'regionMonitoringEnabled' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
BOOL regionMonitoringEnabled = [CLLocationManager regionMonitoringEnabled];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:150:1: note: 'regionMonitoringEnabled' has been explicitly marked deprecated here
(BOOL)regionMonitoringEnabled __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA, __MAC_NA,__IPHONE_4_0, __IPHONE_6_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED;
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:121:36: warning: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:65:2: note: 'kCLAuthorizationStatusAuthorized' has been explicitly marked deprecated here
kCLAuthorizationStatusAuthorized NS_ENUM_DEPRECATED(10_6, NA, 2_0, 8_0, "Use kCLAuthorizationStatusAuthorizedAlways") __TVOS_PROHIBITED __WATCHOS_PROHIBITED = kCLAuthorizationStatusAuthorizedAlways
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:139:38: warning: 'locationServicesEnabled' is deprecated: first deprecated in iOS 4.0 [-Wdeprecated-declarations]
return [(id)[self locationManager] locationServicesEnabled];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:177:37: note: property 'locationServicesEnabled' is declared deprecated here @Property(readonly, nonatomic) BOOL locationServicesEnabled __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_4_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:177:37: note: 'locationServicesEnabled' has been explicitly marked deprecated here
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:231:40: warning: 'initCircularRegionWithCenter:radius:identifier:' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
region = [[CLRegion alloc] initCircularRegionWithCenter:coord radius:radius identifier:regionId];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h:61:1: note: 'initCircularRegionWithCenter:radius:identifier:' has been explicitly marked deprecated here
(instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:253:36: warning: 'initCircularRegionWithCenter:radius:identifier:' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
region = [[CLRegion alloc] initCircularRegionWithCenter:coord radius:10.0 identifier:regionId];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h:61:1: note: 'initCircularRegionWithCenter:radius:identifier:' has been explicitly marked deprecated here
(instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center
^
7 warnings and 1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC build/Geofencing.build/Debug-iphonesimulator/Geofencing.build/Objects-normal/i386/DGGeofencing.o Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/DGGeofencing-Sample/Geofencing/platforms/ios/cordova/build-debug.xcconfig,-project,Geofencing.xcodeproj,ARCHS=i386,-target,Geofencing,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/DGGeofencing-Sample/Geofencing/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/DGGeofencing-Sample/Geofencing/platforms/ios/build/sharedpch
My system information:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.7
Xcode version: Xcode 7.3 Build version 7D175
Also is it compatible with latest Xcode as well as iOS-10?
Thanks in advanced !!
The text was updated successfully, but these errors were encountered:
Hi @radshag,
I am trying to build given sample project by adding the ios platform it fail to build. Getting following logs:
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:34:34: error: no visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:'
self = (DGGeofencing_)[super initWithWebView:(UIWebView_)theWebView];
~~~~~ ^~~~~~~~~~~~~~~
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:81:61: warning: 'regionMonitoringAvailable' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
BOOL regionMonitoringAvailable = [CLLocationManager regionMonitoringAvailable];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:142:1: note: 'regionMonitoringAvailable' has been explicitly marked deprecated here
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:100:36: warning: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:65:2: note: 'kCLAuthorizationStatusAuthorized' has been explicitly marked deprecated here
kCLAuthorizationStatusAuthorized NS_ENUM_DEPRECATED(10_6, NA, 2_0, 8_0, "Use kCLAuthorizationStatusAuthorizedAlways") __TVOS_PROHIBITED __WATCHOS_PROHIBITED = kCLAuthorizationStatusAuthorizedAlways
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:103:59: warning: 'regionMonitoringEnabled' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
BOOL regionMonitoringEnabled = [CLLocationManager regionMonitoringEnabled];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:150:1: note: 'regionMonitoringEnabled' has been explicitly marked deprecated here
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:121:36: warning: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:65:2: note: 'kCLAuthorizationStatusAuthorized' has been explicitly marked deprecated here
kCLAuthorizationStatusAuthorized NS_ENUM_DEPRECATED(10_6, NA, 2_0, 8_0, "Use kCLAuthorizationStatusAuthorizedAlways") __TVOS_PROHIBITED __WATCHOS_PROHIBITED = kCLAuthorizationStatusAuthorizedAlways
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:139:38: warning: 'locationServicesEnabled' is deprecated: first deprecated in iOS 4.0 [-Wdeprecated-declarations]
return [(id)[self locationManager] locationServicesEnabled];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:177:37: note: property 'locationServicesEnabled' is declared deprecated here
@Property(readonly, nonatomic) BOOL locationServicesEnabled __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_4_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:177:37: note: 'locationServicesEnabled' has been explicitly marked deprecated here
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:231:40: warning: 'initCircularRegionWithCenter:radius:identifier:' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
region = [[CLRegion alloc] initCircularRegionWithCenter:coord radius:radius identifier:regionId];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h:61:1: note: 'initCircularRegionWithCenter:radius:identifier:' has been explicitly marked deprecated here
^
/Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:253:36: warning: 'initCircularRegionWithCenter:radius:identifier:' is deprecated: first deprecated in iOS 7.0 [-Wdeprecated-declarations]
region = [[CLRegion alloc] initCircularRegionWithCenter:coord radius:10.0 identifier:regionId];
^
In module 'CoreLocation' imported from /Users/DGGeofencing-Sample/Geofencing/platforms/ios/Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h:61:1: note: 'initCircularRegionWithCenter:radius:identifier:' has been explicitly marked deprecated here
^
7 warnings and 1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC build/Geofencing.build/Debug-iphonesimulator/Geofencing.build/Objects-normal/i386/DGGeofencing.o Geofencing/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/DGGeofencing-Sample/Geofencing/platforms/ios/cordova/build-debug.xcconfig,-project,Geofencing.xcodeproj,ARCHS=i386,-target,Geofencing,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/DGGeofencing-Sample/Geofencing/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/DGGeofencing-Sample/Geofencing/platforms/ios/build/sharedpch
My system information:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.7
Xcode version: Xcode 7.3 Build version 7D175
Also is it compatible with latest Xcode as well as iOS-10?
Thanks in advanced !!
The text was updated successfully, but these errors were encountered: