Repository: cordova-plugin-device-orientation Updated Branches: refs/heads/master 996259ca6 -> 163e63ace
CB-7187 ios: Add explicit dependency on CoreLocation.framework Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/163e63ac Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/163e63ac Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/163e63ac Branch: refs/heads/master Commit: 163e63ace4d10b4ba8f6f5d4646c6956af434512 Parents: 996259c Author: Andrew Grieve <[email protected]> Authored: Mon Jul 21 23:01:54 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Mon Jul 21 23:01:54 2014 -0400 ---------------------------------------------------------------------- plugin.xml | 12 ++++++------ src/ios/CDVCompass.h | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/163e63ac/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index 1843682..1ce0e8b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -108,16 +108,16 @@ <!-- ios --> <platform name="ios"> - <config-file target="config.xml" parent="/*"> - <feature name="Compass"> - <param name="ios-package" value="CDVCompass"/> - </feature> + <feature name="Compass"> + <param name="ios-package" value="CDVCompass"/> + </feature> </config-file> - <header-file src="src/ios/CDVCompass.h" /> - <source-file src="src/ios/CDVCompass.m" /> + <header-file src="src/ios/CDVCompass.h" /> + <source-file src="src/ios/CDVCompass.m" /> + <framework src="CoreLocation.framework" /> </platform> <!-- wp7 --> http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/163e63ac/src/ios/CDVCompass.h ---------------------------------------------------------------------- diff --git a/src/ios/CDVCompass.h b/src/ios/CDVCompass.h index 24f14be..529e11b 100644 --- a/src/ios/CDVCompass.h +++ b/src/ios/CDVCompass.h @@ -18,6 +18,7 @@ */ #import <UIKit/UIKit.h> +#import <CoreLocation/CoreLocation.h> #import <Cordova/CDVPlugin.h> enum CDVHeadingStatus {
