gpt4 book ai didi

ios - Xcode 7.0.1 - 无效的 Swift 支持 - 缺少 SwiftSupport 文件夹。

转载 作者:IT王子 更新时间:2023-10-29 05:37:44 24 4
gpt4 key购买 nike

我尝试在 AppStore 上发布一个包含 Swift 2.0 文件的应用程序,但我收到了以下电子邮件:

Dear developer,

We have discovered one or more issues with your recent delivery for "EMO MILANO". To process your delivery, the following issues must be corrected:

Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

我阅读了以下线程 oh stackoverflow ( Invalid Binary Or Invalid Swift Support Invalid Swift Support / invalid implementation of swift ) 但我没有找到任何解决方案。

我有一个有多个目标并使用 Cocoa pods 的项目。

这是项目导航器的屏幕截图:

enter image description here

想法?

最佳答案

为了安全起见,您应用的所有组件都应使用相同版本的 Xcode 和 Swift 编译器构建,以确保它们协同工作。

我认为您需要清理并安装 pod。我估计你的一个 swift pod 是在旧版本的 Xcode 上创建的,你更新了 Xcode 然后尝试提交到应用程序商店。

阅读有关 binary compatibility and frameworks 的 apple swift 博客

您还需要在build设置中指定您的嵌入内容包含 swift:

EMBEDDED_CONTENT_CONTAINS_SWIFT

Enable this setting to indicate that content embedded in a target's product contains Swift code, so that the standard Swift libraries can be included in the product.

关于ios - Xcode 7.0.1 - 无效的 Swift 支持 - 缺少 SwiftSupport 文件夹。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32889599/

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