I'm trying to simulate my iOS app using only the "build for profiling" build via terminal.
Here is what I am trying:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -currentSDKRoot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -SimulateDevice "iPhone (Retina 4-inch)" -SimulateApplication /Users/yonatanoren/Library/Developer/Xcode/DerivedData/Path/To/App
The simulator opens, but my app doesn't run -- it seems like it crashes (it doesn't show up at all).
I'm using Pods with my project.
How can I solve this problem?
Thanks.
UPDATE: Answer here: Installing a TestFlight app on iOS iPhone Simulator - Registration Failed