I am working on an app that needs data from a Facebook app.
Facebook want a release simulator build. I have followed FB's instruction to the letter but when i try to build the simulator package xcodebuild -arch i386 -sdk iphonesimulator7.1
i get the following error:
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/Release-iphonesimulator/Olabord.app/Olabord normal i386
(1 failure)
I suspect that it has to do with cocoa pods but i don't know how to deal with it. I desperately need guidance or a workaround...!
I had the same problem. Since you're working with a workspace file with pods you need to run the following in Terminal:
xcodebuild -workspace {project name}.xcworkspace -scheme {project name} -arch i386 -sdk iphonesimulator7.1
The FB instructions say the .app file should be in: {base directory}/build/Release-iphonesimulator/{projectname}.app
In my case it ended up in /Developer/Derived Data/{project name}-{long string of random letters}/Build/Products/Debug-iphonesimulator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With