ios Xcode9.1 提交App至审核,报错记录

ios Xcode9.1 提交App至审核,报错记录_第1张图片
image.png

下面出现了4个错误,其中后面3个应该是同一个意思。

iTunes Store Operation Failed

The bundle uses a bundle name or display name that is already taken.

iTunes Store Operation Failed

The info.plist file at Music.app/HMEmoticon.bundle/Contents/Resources/default/info.plist is currently named info.plist. info.plist filename is case-sensitive and must be exactly named as 'Info.plist'

iTunes Store Operation Failed

The info.plist file at Music.app/HMEmoticon.bundle/Contents/Resources/emoji/info.plist is currently named info.plist. info.plist filename is case-sensitive and must be exactly named as 'Info.plist'

iTunes Store Operation Failed

The info.plist file at Music.app/HMEmoticon.bundle/Contents/Resources/lxh/info.plist is currently named info.plist. info.plist filename is case-sensitive and must be exactly named as 'Info.plist'

先解决多的吧【3个一样的】

看意思应该很简单。info.plist区分大小写,好说,把info.plist改成Info.plist就行了
编译正常--编译成功--打开上传(顺利解决问题,如下图)


ios Xcode9.1 提交App至审核,报错记录_第2张图片
image.png

到这里已经只剩下一个,来看看说的是啥意思

The bundle uses a bundle name or display name that is already taken.
【该包使用一个已被占用的包名或显示名。】

意思很明显,名字重复了。说得太简单了,还是不知道怎么改,只能一个一个试了

  • 1,改bundle display name试试(失败告终)
  • 2,改bundle name 试试(还是失败...)
  • 3,改InfoPlist.strings里的CFBundleDisplayName(还是失败,啊!!!!!)
    没法子了,改工程名试试(原来的工程里叫Music.xcodeproj),别说,真有用。如下图


    ios Xcode9.1 提交App至审核,报错记录_第3张图片
    image.png

正常来说事情到了这里应该算结束了。可是结果总是那么出人意料。


ios Xcode9.1 提交App至审核,报错记录_第4张图片
image.png

【此构建版本无效。】
出现这个错误只能看邮箱了,嗯,收到一封来自苹果的邮件。

Dear developer,

We have discovered one or more issues with your recent delivery for "xxxApp名称". To process your delivery, the following issues must be corrected:

This bundle is invalid - The Info.plist file is missing or could not be parsed. Please check it for embedded control characters.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

又说Info.plist文件错误。又开始问度娘了。

有说是Info.Plist文件包含特殊符号,也有说少了啥bundle name的,试了很多种,也试了新建一个Info.Plist文件然后替换项目文件,结果还是一样。
想想有可能是Info.Plist文件苹果识别不了、识别不了、识别不了(难道是有多个一样的文件名就不行?)【上面说到把三个info.plist文件名改成Info.plist】
上面三个Info.plist文件是用了环信聊天的功能模块,最后一招,把文件名改下。改成config.plist(记得代码里也改下引用路径)。

最后

再次打包--上传--终于OK了(内心已经快问候苹果1000遍了....)


ios Xcode9.1 提交App至审核,报错记录_第5张图片
image.png

开发不容易,且写且记录吧。

end

你可能感兴趣的:(ios Xcode9.1 提交App至审核,报错记录)