我已经为我的应用构建了 Apple Watch 支持。但是我得到了以下错误:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'xxxx/_WatchKitStub/WK' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/library/ios/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html%23//apple_ref/doc/uid/10000123i-CH101-SW1 for information on the iOS app bundle structure."
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
ERROR ITMS-90455: "The binary you uploaded was invalid."
ERROR ITMS-90499: "Missing Apple Watch Extension. The application 'xxxxx' is missing its corresponding Apple Watch extension."
ERROR ITMS-90508: "Invalid Info.plist value. The value for the key 'DTPlatformName' in bundle xxxx is invalid."
我试图解决这个问题,但是在一个新项目中我遇到了同样的错误。怎么回事?
最佳答案
我昨天刚遇到同样的问题,原因和解决方法很简单:
我忘记将 Watch App 和 Extension 的配置文件更改为分发配置文件。更改后错误消失了。
关于ios - 将支持 Apple Watch 的 App 推送到 iTunes Connect 时出现很多错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31204490/