【发布时间】:2015-03-16 02:57:36
【问题描述】:
我正在尝试向 App Store 提交 WatchKit 应用,但收到此错误。
【问题讨论】:
-
Apple watch 应用暂时无法提交。
我正在尝试向 App Store 提交 WatchKit 应用,但收到此错误。
【问题讨论】:
造成这种情况的另一个原因是在您的应用程序包中包含 WatchKit 或任何其他 TargetApplication.app。
不要在您的project settings > target > Build Phases > Copy Bundle Resources 中包含任何内容。
当我尝试将它添加到Target > General > Embedded Binaries 时,Xcode (6.2..) 中的一个错误将它添加到那里。该部分没有任何变化,也没有显示任何错误,所以我忽略了它给我的不好感觉。
在处理其他证书问题数小时后(并冲洗了我们所有的 TestFlight 测试人员,由于撤销分发证书,这显然/可能需要),升级到 Xcode 6.3.1 我终于想起了这种糟糕的感觉并找到了应用程序 watchkit潜伏在Copy Bundle Resources 部分的应用程序并将其删除。
除了上面的Invalid Bundle Structure 错误之外,我所展示的具体错误还有:
ERROR ITMS-90378: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'com.company.App.watchkitapp' under the iOS application 'App.app'
ERROR ITMS-90451: "CFBundleIdentifier Collision. The Info.plist CFBundleIdentifier value 'com.company.App.watckitapp' of 'App.app/App Watchkit App.app' is in conflict with the Info.plist CFBundleIdentifier value of 'App.app/Plugins/App Watchkit Extension.appex/App WatchKit App.app'
所有都消失了,删除后提交工作正常。
此外,即使使用 watchkit 应用程序的两个实例,验证也顺利通过。
【讨论】:
即使 Xcode 6.2 和 iOS 8.2 正式发布,您仍无法提交 WatchKit 应用程序。请参阅以下answer 了解更多信息。
【讨论】: