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

ios – 无效的Swift支持 – 文件不在正确的位置,第1张

概述我一直在尝试将新版本上传到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 issue 我一直在尝试将新版本上传到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迁移,但我收到了同样的电子邮件.有人可以解释如何解决这个问题以及这些文件是什么?这不是其他问题中出现的“文件不匹配”问题.

解决方法 当我遇到同样的问题时,我偶然发现了这一点.这是我第一次负责处理向App Store发布Swift应用程序的任务.

我发现TALAA的这个答案是一种享受:https://stackoverflow.com/a/26949219/1567836

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

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

总结

以上是内存溢出为你收集整理的ios – 无效的Swift支持 – 文件不在正确的位置全部内容,希望文章能够帮你解决ios – 无效的Swift支持 – 文件不在正确的位置所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1043963.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存