Various ITMS errors when trying to submit archive

2019-05-30 13:22发布

So this is a weird one — I get the following errors when trying to submit my archive to the App Store:

ERROR ITMS-90049: "This bundle is invalid. The bundle identifier contains disallowed characters. [See the section of the Application Programming Guide entitled The APplication Bundle.]"

ERROR ITMS-90049 "This bundle is invalid. The bundle identifier contains disallowed characters

ERROR ITMS-90056: "This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion."

From my plist:

<key>CFBundleIdentifier</key>
<string>com.myApp.app</string>

<key>CFBundleVersion</key>
<string>3.1.5</string>

<key>CFBundleShortVersionString</key>
<string>3.1.4</string>

Running xCode 7.0.1

10条回答
叼着烟拽天下
2楼-- · 2019-05-30 14:05

For all of you using CocoaPods, simply try to

pod update

In my case, it was a third party library loaded via cocoapods, but the update did the trick. BTW, none of the libraries had new versions, the update seems to repair some bad things too.

查看更多
做自己的国王
3楼-- · 2019-05-30 14:10

Similar to the answer with top rate , but you need to check every SDKs in the project . in my case, it's cocoapod has info.plist. I deleted it and everything works. Xcode 7.1 still has this problem.

查看更多
唯我独甜
4楼-- · 2019-05-30 14:15

I did the same step as Silvon mention. Removed all third party lib's info.plist (pods as well) with xcode 6.4. Works for me.

查看更多
手持菜刀,她持情操
5楼-- · 2019-05-30 14:18

I'd like to expand an answer given by @silvon and link more keywords to this question.

Apparently, iTunes Connect backend now validates every single bundle shipped with your app. If a bundle contains Info.plist file, it must have CFBundleVersion and CFBundleShortVersionString keys.

So, if you are using any 3rd party frameworks (specifically, with Cocoapods), make sure that Info.plist in each framework bundle (if exists) contain these keys.

查看更多
登录 后发表回答