当我尝试在启动的模拟器中安装我的应用程序时,如下所示:
xcrun simctl install booted /build/iphone/build/Debug-iphonesimulator/foo.app
我得到以下结果:
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.
当我检查 .app 中的 Info.plist 时,CFBundleIdentiifier 在那里并且正确。
<key>CFBundleIdentifier</key>
<string>com.bar.foo</string>
我在优胜美地使用 xcode 6.3.2
模拟器在安装时启动。
我究竟做错了什么?