Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with iOS on Telerik Platform #48

Open
nickcrisp opened this issue Nov 18, 2014 · 0 comments
Open

Build error with iOS on Telerik Platform #48

nickcrisp opened this issue Nov 18, 2014 · 0 comments

Comments

@nickcrisp
Copy link

Hi

I'm trying to integrate the plugin with a Telerik Platform project. When I build for iOS I get the following errors:

Compile: /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:42:59: warning: undeclared selector 'requestAlwaysAuthorization' [-Wundeclared-selector]

/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:43:39: error: no visible @interface for 'CLLocationManager' declares the selector 'requestAlwaysAuthorization'
/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:98:35: error: use of undeclared identifier 'kCLAuthorizationStatusAuthorizedAlways'; did you mean 'kCLAuthorizationStatusAuthorized'?
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:10:
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:46:5: note: 'kCLAuthorizationStatusAuthorized' declared here
/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:98:91: error: use of undeclared identifier 'kCLAuthorizationStatusAuthorizedWhenInUse'; did you mean 'kCLAuthorizationStatusAuthorized'?
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:10:
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:46:5: note: 'kCLAuthorizationStatusAuthorized' declared here
/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:103:59: warning: 'regionMonitoringEnabled' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:10:
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:132:1: note: method 'regionMonitoringEnabled' declared here
/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:119:35: error: use of undeclared identifier 'kCLAuthorizationStatusAuthorizedAlways'; did you mean 'kCLAuthorizationStatusAuthorized'?
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:10:
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:46:5: note: 'kCLAuthorizationStatusAuthorized' declared here
/tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:119:91: error: use of undeclared identifier 'kCLAuthorizationStatusAuthorizedWhenInUse'; did you mean 'kCLAuthorizationStatusAuthorized'?
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.m:10:
In file included from /tmp/6cd9f52f0044420ab0f78179dfaa1e13/Cordova350/Plugins/com.ogonium.goldberg.dov.geofencing/DGGeofencing.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:46:5: note: 'kCLAuthorizationStatusAuthorized' declared here

Any ideas......

Thanks

Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant