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

Linker phase error in XCode 6.0.1 #73

Open
dmytro-shchurov opened this issue Sep 22, 2014 · 8 comments
Open

Linker phase error in XCode 6.0.1 #73

dmytro-shchurov opened this issue Sep 22, 2014 · 8 comments

Comments

@dmytro-shchurov
Copy link

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
Copy link

geo113 commented Sep 29, 2014

Same problem around here !

@xelakz
Copy link

xelakz commented Oct 3, 2014

Mine too

@felipecarreramo
Copy link

me too!!

@christopher5106
Copy link

Me too, when the iphone5 is connected

@mah01
Copy link

mah01 commented Oct 14, 2014

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
Copy link

mah01 commented Oct 14, 2014

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
Copy link

"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 :
#76

@monu-techbirds
Copy link

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 👎
Undefined symbols for architecture x86_64It seems like
Cordova/Phonegap is not supported to 64arm architecture yet.
Please help me to resolve above problem.

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

7 participants