Forum Mobile Xcode errors

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

Xcode errors

Postby zhapness » March 21st, 2014, 8:45 pm

Hi

I use PlayerIO in a Unity/iOS game for QuickConnect and BigDB.

My issue is that when building to iOS in Xcode I get 10x Mach-O Linker Errors:
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)


Do I need to add something in Build Phases? I am pretty new to Xcode, anyone know about this?
zhapness
Paid Member
 
Posts: 6
Joined: October 12th, 2012, 10:01 am

Re: Xcode errors

Postby Ging » March 24th, 2014, 11:17 am

+1 (unity 4.3.4)
Ging
 
Posts: 7
Joined: December 12th, 2013, 9:54 pm

Re: Xcode errors

Postby Henrik » March 25th, 2014, 11:50 pm

Thanks for reporting this issue.

Try downloading the latest SDK (3.0.1), this issue should be fixed.

Let us know if you have any further issues.
Henrik
.IO
 
Posts: 1827
Joined: January 4th, 2010, 1:53 pm

Re: Xcode errors

Postby rif_k » March 26th, 2014, 12:13 am

Can I ask for a changelog to be posted somewhere? It'd be great if it was included in the SDK package as well.
rif_k
 
Posts: 6
Joined: March 20th, 2014, 12:51 pm

Re: Xcode errors

Postby zhapness » March 26th, 2014, 1:00 am

Thanks, but I still get:
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


And yes, it would be great if some sort of changelog was included in the package :)
zhapness
Paid Member
 
Posts: 6
Joined: October 12th, 2012, 10:01 am

Re: Xcode errors

Postby arash » March 26th, 2014, 5:07 am

@zhapness

You also need to add MessageUI.framework to your Xcode project. It is stated in the GettingStarted.txt
arash
 
Posts: 2
Joined: March 26th, 2014, 5:03 am

Re: Xcode errors

Postby Ging » March 26th, 2014, 10:29 am

arash wrote:@zhapness

You also need to add MessageUI.framework to your Xcode project. It is stated in the GettingStarted.txt

All builded, but callback сonnections rooms and there is no. Unity 4.3.4 + Player.IO 3.0.1, target iOS 4.3+
Ging
 
Posts: 7
Joined: December 12th, 2013, 9:54 pm

Re: Xcode errors

Postby impersogame » March 26th, 2014, 10:48 am

+1
impersogame
Paid Member
 
Posts: 33
Joined: May 17th, 2013, 4:36 pm


Return to Mobile