I'm trying to create a simulator app to submit to Facebook for review. I've followed their instructions to the letter, but keep running into problems. I am using CocoaPods and have a workspace instead of a plain old project. Here's the command I'm running:
xcodebuild -arch i386 -sdk iphonesimulator8.1 -workspace [APP].xcworkspace -scheme [APP]
I get a ** BUILD SUCCEEDED **
message, but either one of two things will happen:
- No build folder is created, and I can't find where the .App file is.
- A .App is created in a build folder, but is 0 bytes in size and crashes when running with
ios-sim
.
I read that changing the Run scheme to 'Release' might fix it, but that didn't do anything. Any ideas?