Facebook + Unity iOS app crash on startup
Importing the FB Unity SDK v7.2.1(and an earlier version) and running on an iPod touch 4th gen. results in a crash on launch, even before the splash screen shows up with only the following in the log.
dyld: Symbol not found: OBJC_CLASS$_NSURLComponents Referenced from: /var/mobile/Applications/8C9472CC-897E-4E59-BB02-B646A28E56F1/fbunitycrash.app/fbunitycrash Expected in: /System/Library/Frameworks/Foundation.framework/Foundation in /var/mobile/Applications/8C9472CC-897E-4E59-BB02-B646A28E56F1/fbunitycrash.app/fbunitycrash
The app without the FB SDK works fine.
Few threads suggested that Foundation framework must be before others. tried it, but in vain.
I am using the following versions of the tools:
Xcode - 7.1 (7B91b)
Unity - 5.2.2p1 Personal
FB Unity SDK - 7.2.1
Any help would be great. Thanks
The Facebook SD$$anonymous$$ for Unity requires a $$anonymous$$imum iOS target of 7.0 or above, what iOS version are you targeting?
I am targeting iOS 6.0 as the only device available with me is an iPod touch 4th gen running iOS 6.1.x
Your answer
![](https://koobas.hobune.stream/wayback/20220612043217im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to use Facebook iOS SDK with unity? not Facebook unity SDK 1 Answer
Unity Facebook SDK v7.9.0 totally doesn't work on iOS (Unity version 5.3.2) 1 Answer
IAP gives ERROR_BROKEN_PIPE 3 Answers
Namespace Gamecenter not found on Unity 2017.2 1 Answer
Share to facebook, twitter,etc. Ios Please help out 0 Answers