-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
- cocos2d-x version: latest from v3 branch
- devices test on: Mac OS 10.14
- developing environments
- Xcode version: 11.1
Steps to Reproduce:
-
clone of v3 branch,
git submodule update --init
,git submodule update
,./download-deps.py
-
cocos new MyTest -l cpp -d .
-
cd MyTest
-
cocos compile -p ios
--> ERROR
** BUILD SUCCEEDED **
Build succeed.
Deploying mode: debug
Starting application.
CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'
Using simulator: iPhone 11 Pro Max (13.1)
running: 'xcrun simctl boot "6B53F7EA-A830-45B0-9211-31126BCD81B9"'
running: 'open `xcode-select -p`/Applications/Simulator.app'
running: 'xcrun simctl install "6B53F7EA-A830-45B0-9211-31126BCD81B9" "/Users/jason/MyTest/bin/debug/ios/MyTest-mobile.app"'
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The application's Info.plist does not contain CFBundleShortVersionString.
Ensure your bundle contains a CFBundleShortVersionString.
Error running command, return code: 22.
Reason:
proj.ios_mac/ios/Info.plist contains CFBundleShortVersionString key but the string value is empty.
Solution:
put a value in key _CFBundleShortVersionString in _proj.ios_mac/ios/Info.plist
Compile successful.
Metadata
Metadata
Assignees
Labels
No labels