phonegap-build / GAPlugin

Google Analytics Plugin
MIT License
170 stars 141 forks source link

Undefined Symbols iOS 7.1 #62

Open amritk opened 10 years ago

amritk commented 10 years ago

Running Cordova 3.4, this plugin works fine on iOS < 7.1. Then when I make the necessary changes to cordova for iOS 7.1: http://shazronatadobe.wordpress.com/2014/03/12/xcode-5-1-and-cordova-ios/

I start running into this error: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_GAI", referenced from: objc-class-ref in GAPlugin.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've tried the fixes suggested here: http://stackoverflow.com/questions/13119578/google-analytics-library-ios

But they don't work

ghost commented 10 years ago

The plugin needs to be updated to use new GoogleAnalytics Libraries. Until then it won't run on newer devices.

clickonchris commented 10 years ago

+1

ghost commented 10 years ago

works now with the most recent changes.

mabdelfattah commented 10 years ago

The following fix worked for me: http://stackoverflow.com/questions/22494615/xcode-5-and-phonegap-linker-errors-on-building-for-device-but-not-for-simulator

brunocavalcante commented 10 years ago

+1. Happening with Cordova 3.5.0 and Xcode 5.1.1.

amritk commented 10 years ago

Currently rebuilding my app, I'll check when its ready for GA again

sebmartel commented 9 years ago

+1 still an issue