iOS app validation error: Missing plist key CFBund

2020-04-06 03:14发布

问题:

I built an iOS game with SpriteBuilder and cocos2d. When I attempt to submit it to the AppStore, I get the following error:

ERROR ITMS-9000: "Missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."

How do I fix this? Thanks!

回答1:

This is an easy fix. You just need to add the CFBundleShortVersionString key to your Info.plist file.

Click your Info.plist file in your project. Right click and select "Add Row". Then paste in the string "CFBundleShortVersionString". It will automatically change it to read: "Bundle versions string, short".

Then choose a value like 1.0 or whatever you want your version to be.