App项目升级Xcode7&iOS9(续) - This bundle is invalid. The bundle identifier contains disallowed characters

金田html

      iOS 9发布已经有2月有余,如今Xcode已经有升级到Xcode7.1,开发环境安装等一系列相关的流程,以及Xcode 7 & iOS 9升级相关的一些部分,在这里就再也不多加赘述(详见 App项目升级Xcode7&iOS9)。ide

     这次在这里要讲的是Xcode7.1,Xcode7.1 已于前天(2015-10-21)发布正式版本,在你们在Xcode 7.0不尽如人意状况下,欣喜Xcode 7.1到来之际,Xcode7.1也给你们带来了更大的困惑。ui

    相信这两天很多想更新App的朋友都有遇到同一个问题spa

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.]"

     正如你们同样,笔者也遇到了这个问题,也跟你们同样,猜想这确定是Apple的问题,但通过多番查找,终于找到了问题缘由以及解决方案:code

     问题缘由??htm

     看字面意思,这很明显是说App的Bundle identifier 包含了非法字符,但是查看App的Info.plist,相关参数明显是符合Apple规定的,并且多数App也是已经有上架到AppleStore的。blog

     那么,具体的问题出在哪里呢?资源

     很明显,问题仍是出在Bundle identifier上面,出在Info.plist上面。开发

     综合上述信息,你们只要作以下操做,就能够顺利上架。get

     具体操做步骤:

     Step 1:更新Xcode到Xcode 7.1

     Step 2:删除掉App中多余的Info.plist (如第三方静态库中包含的Info.plist文件)

     Step 3:删除App中第三方资源包中的Info.plist (统一检查App中 .bundle 中资源包里面是否有Info.plist,考虑删除或是删除里面的CFBundleVersion 以及 CFBundleIdentifier 项)

    便可送审成功!


版权全部,转载须注明做者(金田)及出处(原文

相关文章
相关标签/搜索