Unity Game for iOS and Android.
When exported to iOS, i try to compile in Xcode and i get:
.../Assets/Facebook/Editor/iOS/FbUnityInterface.mm:22:17: Method definition for 'initWithCookie:logging:status:frictionlessRequests:urlSuffix:' not found
I get an Apple Mach-O Linker Error
ld: file not found: .../Library/Developer/Xcode/DerivedData/Unity-iPhone-ailzvxifteluzgdrxapptghrbxca/Build/Products/XXX.app/XXX
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And then i get:
Undefined symbols for architecture armv7:
"_iosFBSettingsPublishInstall", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_iosFBSettingsActivateApp", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_iosFBAppEventsSetLimitEventUsage", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_iosFBAppEventsLogPurchase", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_iosFBAppEventsLogEvent", 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)
any help will be good.
Thanks
This is really late for the original poster, but in case someone else stumbles across this question and is hunting for the answer, this thread has it: Workaround for Unity5 iOS compile error with facebook-unity-sdk 6.2.1
In summary,
Note: I have no idea what these flags are or how they work, but they helped me get past this error, so hooray! :)