ios - 将ios应用上传到AppStore时出错

标签 ios iphone xcode app-store

我当时在旧Macbook上进行项目开发,然后复制并粘贴了新项目,然后继续进行工作。现在,当我想在Appstore上更新应用程序时,出现了一系列错误。我尝试了一些在网上找到的建议,但无法正常工作。

有我得到的错误:

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'MyApp.app/MyApp WatchKit App.app/_WatchKitStub/WK' is not permitted. Your app can't contain standalone executables or libraries, other than the CFBundleExecutable of supported Bundles."
ERROR ITMS-90455: "The Binary you uploaded was invalid."
ERROR ITMS-90499: "Missing Apple Watch Extension. The application 'MyApp.app/MyApp WatchKit App.app' is missing its corresponding Apple Watch Extension."
ERROR ITMS-90508: "Invalid Info.plist value. The value for the key 'DTPlatformName' in bundle MyApp.app/MyApp WatchKit App.app is invalid."

清洁和重建并不能解决问题。

在我的常规项目设置中,它指出在Embedded Binaries上有一个“MyApp WatchKit Extension.appex”

有人遇到同样的问题吗?

谢谢

最佳答案

WatchKitSupport/WK库不应包含在IPA文件中。

转到构建阶段>复制 bundle 资源并将其从构建中删除。

关于ios - 将ios应用上传到AppStore时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32230741/

相关文章:

ios - Swift 项目中体系结构的 undefined symbol

ios - 使用Xcode5.1 beta5还是使用xcode 5.0.2部署?

iOS UIImageView 约束在表格单元格中不起作用

swift - 拉动刷新WebView swift 4

xcode - 为单个对象而不是对象数组发布的作品

iphone - API key 必须在每个请求中作为 API-Key header 传递

iphone - json 对象 UITableView

ios - 3D Touch 快速操作启动黑屏。 UiNavigationController->UITableViewController-> UIViewController

xcode - 无法在 Xcode : CocoaPods linking error 上存档

iphone - 如何在UITextField中添加自定义清除按钮?