- Home /
Facebook SDK IOS Simulator Build: ld symbols not found i386
This is not exactly a question, but the answer to a problem that annoyed me for quite some time today. I have a Unity App that uses facebook login to create a highscore, i.e. the user can log in and his highest score is saved using facebook. To use that permission, I had to get my app reviewed by facebook. The app will run on iOS devices, so facebook wanted me to submit an ios simulator build. That's where things got tricky. I built the app in unity (that worked) and followed the instructions of the facebook developer site (see https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review), but when trying to build the xcodeproject, the build failed with a lot of errors, including
ld: symbol(s) not found for architecture i386
at the bottom. There are some solutions on the internet, but the thing that finally worked for me was this:
Go to unity player settings
Go to the iOS tab
Go to Other settings
Scroll to the bottom, and set the SDK Version to Simulator SDK
Anyway, this solved it for me. After changing the SDK version I built the app again in Unity and then followed the instructions from the facebook developer site. Maybe this helps someone here, too.
Thank you so much man! I have just spent around 2 hours trying to sort this problem but upon finding your post it took only 5 $$anonymous$$ute to fix! Thank you very much :)
I was searching from a total wrong approach to the issue, and your post fits perfect.
Thank you for the solution, and it's nice that you post your solution!!