When I try to install my app in the booted simulator, like this:
xcrun simctl install booted /build/iphone/build/Debug-iphonesimulator/foo.app
I get the following result:
An error was encountered processing the command (code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
When I inspect the Info.plist inside the .app, the CFBundleIdentiefier is there and correct.
<key>CFBundleIdentifier</key>
<string>com.bar.foo</string>
I am using xcode 6.3.2 on Yosemite
The simulator is booted at installation time.
What am I doing wrong?
All it was, was a wrong path:
The first forward slash shouldn't be there... as simple as that: