【问题标题】:Errors uploading ios app to AppStore将 ios 应用程序上传到 AppStore 时出错
【发布时间】:2015-11-20 17:39:47
【问题描述】:

我在旧的 macbook 上做一个项目,然后我复制并粘贴了一个新的 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."

清理和重建并没有解决问题。

在我的常规项目设置中,它指出嵌入式二进制文件中有一个“MyApp WatchKit Extension.appex”

有人遇到过同样的问题吗?

谢谢

【问题讨论】:

  • 这与切换 macbook 无关 - 也许您在某个时候使用了 xcode 的 beta 版?!
  • 我想我做到了,你可能就在这里。

标签: ios iphone xcode app-store


【解决方案1】:

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

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

【讨论】:

  • 复制包资源中只有“MyApp WatchKit App.app”,找不到WatchKitSupport/WK...
  • 那是我应该删除的吗? “MyApp WatchKit App.app”?
  • 是的,从那里删除 .app - 它不应该包含在包中
  • 老兄,你是救命稻草!谢谢!
【解决方案2】:

对我有用的是从嵌入式二进制文件(项目 -> 主要目标 -> 常规)中删除 WatchKit 扩展,然后再次添加。

【讨论】:

    猜你喜欢
    • 2014-07-23
    • 1970-01-01
    • 1970-01-01
    • 2016-08-11
    • 1970-01-01
    • 1970-01-01
    • 2013-02-05
    • 2010-10-22
    • 1970-01-01
    相关资源
    最近更新 更多