gpt4 book ai didi

ios - 无效的 Swift 支持 - 文件不在正确的位置

转载 作者:搜寻专家 更新时间:2023-10-31 08:06:52 25 4
gpt4 key购买 nike

我一直在尝试将新版本上传到 iTunes Connect 以更新应用程序。我首先使用 xCode 6,但收到一封来自 Apple 的电子邮件,内容如下:

Dear Developer,

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

Invalid Swift Support - The files libswiftDarwin.dylib, libswiftDispatch.dylib, libswiftCoreGraphics.dylib, libswiftUIKit.dylib, libswiftContacts.dylib, libswiftCore.dylib, libswiftCoreAudio.dylib, libswiftFoundation.dylib, libswiftXCTest.dylib, libswiftCoreImage.dylib, libswiftObjectiveC.dylib aren’t at the expected location /Payload/App.app/Frameworks.

Move the file to the expected location, 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.

我认为这是一个简单的修复,所以我刚刚更新到最新的 GM (Xcode 7.2) 并完成了 Swift 2 迁移,但是我收到了同样的电子邮件。有人可以解释如何解决这个问题以及这些文件是什么吗?这不是其他问题中看到的“文件不匹配”问题。

最佳答案

我偶然发现了这个,因为我遇到了同样的问题。这是我第一次负责处理 Swift 应用程序到 App Store 的发布。

我发现这个答案是 TALAA工作请客:https://stackoverflow.com/a/26949219/1567836

Build Settings 中有一个“Embedded Content Contains Swift Code”标志需要设置为 YES。设置完成后,再次构建之前清理项目。

清理后,您必须重新创建一个构建以上传到 App Store。您可能会发现新的上传将被拒绝,声称该号码的二进制文件已经存在。如果您更新内部版本号(必须大于之前的内部版本号),那么新的上传将被接受。

关于ios - 无效的 Swift 支持 - 文件不在正确的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34602859/

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