Having the same issue, I had both errors fixed @bean his error by adding 'i386' to the "valid architectures" in build settings. (for my app target, pod target and every pod separately)
My full build command is:
xcodebuild -workspace [projectName].xcworkspace -scheme [schemeName] -arch i386 -sdk=iphonesimulator7.1
I can complete the build but I get tons warnings:
warning: no rule to process file '[any .m file]' of type sourcecode.c.objc for architecture i386
I have no idea how to fix this, an .app file is created just not on the location the facebook tutorial says it should be (its in "~/Library/Developer/Xcode/DerivedData/.." instead of "{projectDir}/build/...")
Now 2 questions remain for me:
1.) How can I test or this .app file works (double-clicking it tells me the file is damaged.)
2.) (Why) Can I not just build the app from within Xcode using the simulator and just submit the .app file that Xcode created?