Forum Mobile XCode Link Error

Anything specifically relating to droid or iOS development with Unity can go here.

XCode Link Error

Postby ray » March 17th, 2015, 8:18 am

I use Unity (4.5) to build the iOS version of my app with Yahoo Games Network SDK 3.2.0

In the simulator mode, I can run my app in Xcode 6.0.1 without problem. However when I change to actual device mode, I build the app in Xcode introduce the following error.

Undefined symbols for architecture armv7:
"___PlayerIO_UWebView_IOS_RemoveAllCookies", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_UWebView_IOS_Navigate", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_UWebView_IOS_Init", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_UWebView_IOS_UpdateDisplay", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_UWebView_IOS_GetCookies", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_UWebView_IOS_Cleanup", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_PlayLink_InstallCheck", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_PlayCodeStorage_IOS_SetPlayCodes", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"___PlayerIO_PlayCodeStorage_IOS_GetPlayCodes", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried some of previous post solution by including PlayerIOClient.framework in "Link Binary With Libraries" of Xcode, but same error after rebuild. Would anyone please help? any criteria on where the unzipped directory of PlayerIOClient.framework located? Need help urgent.
ray
 
Posts: 2
Joined: October 2nd, 2014, 7:09 am

Re: XCode Link Error

Postby MarcusHays » April 23rd, 2015, 3:39 pm

We're having a similar problem in Unity5 / XCode 6.3. Any ideas?

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
      objc-class-ref in PlayerIOClient.iOS.a(PlayerIOClient_iOS.o)
  "_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
      objc-class-ref in PlayerIOClient.iOS.a(PlayerIOClient_iOS.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
MarcusHays
 
Posts: 2
Joined: April 22nd, 2015, 9:46 pm

Re: XCode Link Error

Postby MarcusHays » April 23rd, 2015, 4:07 pm

Ok we fixed our problem by changing the import settings for the library.
MarcusHays
 
Posts: 2
Joined: April 22nd, 2015, 9:46 pm

Re: XCode Link Error

Postby Broniac » April 26th, 2015, 5:05 pm

MarcusHays wrote:Ok we fixed our problem by changing the import settings for the library.


Could you give a little more details on what you did to solve that problem please? We are struggling with the same issue on our side! :?
Broniac
 
Posts: 3
Joined: June 28th, 2013, 2:03 am

Re: XCode Link Error

Postby Guillaume » May 18th, 2015, 2:05 pm

I don't have any problem with Unity 4.5 and XCode 6.x !
Don't forget to add "MessageUI Framework" (or something like that, just use the filter) library in your XCode project, otherwise it will notbe able to compile !
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France


Return to Mobile



cron