phonegap-build / GAPlugin

Google Analytics Plugin
MIT License
170 stars 141 forks source link

Linker phase error in XCode 6.0.1 #73

Open dmytro-shchurov opened 9 years ago

dmytro-shchurov commented 9 years ago

Everything seemed ok until I updated xcode to v6 release. When I successfully build my app with cordova, and try to run an xcode project in iOS Simulator, after linker phase I've got the following error

ld: warning: ignoring file /Users/dimitrishchurov/Projects/sb-mobile/src/platforms/ios/SchoolBee/Plugins/com.adobe.plugins.GAPlugin/GoogleAnalytics.a, missing required architecture x86_64 in file /Users/dimitrishchurov/Projects/sb-mobile/src/platforms/ios/SchoolBee/Plugins/com.adobe.plugins.GAPlugin/GoogleAnalytics.a (3 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_GAI", referenced from:
      objc-class-ref in GAPlugin.o
ld: symbol(s) not found for architecture x86_64

XCode settings are set to default. cordova version is 3.5.0-0.2.7,

geo113 commented 9 years ago

Same problem around here !

xelakz commented 9 years ago

Mine too

felipecarreramo commented 9 years ago

me too!!

christopher5106 commented 9 years ago

Me too, when the iphone5 is connected

mah01 commented 9 years ago

Same here with Xcode 6.0.1 Issue appeared when I tried to re-build older PhoneGap project previously build with PhoneGap 3.3 and Xcode 5, now with Cordova 3.6 and Xcode 6.

mah01 commented 9 years ago

May sound crazy, but checking "Build Active Architectures Only" in project Build Settings to "No" and then back to "Yes" again solves the issue when I run on the device.

christopher5106 commented 9 years ago

"Build Active Architectures Only" works only when you test but for deployment on the appstore it's a pretty poor solution. Here is a better description of the problem : https://github.com/phonegap-build/GAPlugin/issues/76

monu-techbirds commented 9 years ago

I am trying to add support in old phonegap app using new phonegap version(more than 3.5). According to below link it should work. http://cordova.apache.org/announcements/2014/11/25/ios-64bit.html I have tried but each time it failed and giving below compiler error :-1: Undefined symbols for architecture x86_64It seems like Cordova/Phonegap is not supported to 64arm architecture yet. Please help me to resolve above problem.