Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Facebook SDK IOS Simulator Build: ld symbols not found i386

$
0
0
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.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>