gpt4 book ai didi

ios - 为什么我会收到上传错误 ITMS-90680 和 ITMS-90171

转载 作者:行者123 更新时间:2023-12-04 21:57:53 24 4
gpt4 key购买 nike

我将我的 Mac 更新为 Mojave,并将 Xcode 更新为 10。我在我的项目中添加了一个 WatchKit 框架。当我将我的项目上传到 App Store 时,发生了一些错误。

ERROR ITMS-90680: “The binary you uploaded was invalid.”

ERROR ITMS-90171: “Invalid Bundle Structure - The binary file ‘XXXX.app/Watch.app/_WatchKitStub/WK’ is not permitted. Your app can’t contain standalone executable or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at http://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.”



我的 WatchKit 似乎不在这个包中。或者添加WatchKit后应该怎么做?我不知道为什么会出现此错误。

最佳答案

我只花了两天时间为我自己的构建诊断这个问题。有几种可能性,但它们都与资源包目标相关:

  • 如果您的“复制捆绑资源”构建阶段包含任何实现文件(.m 或 .swift 文件)
  • 如果您的“复制捆绑资源”构建阶段包括任何编译文件(.framework、.a 或 unix 二进制文件)
  • 如果您的“版本系统”build设置设置为“Apple 通用”(如果它没有显示在基本下,您可能需要在build设置选项卡上单击“全部”)

  • 后者是我的问题

    关于ios - 为什么我会收到上传错误 ITMS-90680 和 ITMS-90171,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53283908/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com