Xcode 7.0.1 - 无效的 Swift 支持 - 缺少 SwiftSupport 文件夹. [英] Xcode 7.0.1 - Invalid Swift Support - The SwiftSupport folder is missing.

查看:37
本文介绍了Xcode 7.0.1 - 无效的 Swift 支持 - 缺少 SwiftSupport 文件夹.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

<块引用>

亲爱的开发者:

我们发现您最近的交货有一个或多个问题EMO 米兰".要处理您的交货,必须解决以下问题更正:

无效的 Swift 支持 - 缺少 SwiftSupport 文件夹.重建您的应用程序使用当前公共 (GM) 版本的 Xcode 并重新提交

一旦这些问题得到纠正,您就可以重新交付修正二进制.

问候,

App Store 团队

我阅读了以下线程哦 stackoverflow(

想法?

解决方案

我刚刚通过 Apple 支持解决了这个问题的一个实例.

问题是我的 CI/CD 系统的 IPA 文件中包含了一些垃圾文件.特别是我有一个 .gitkeep 文件,它来自 rsync 命令,还有一个 .DS_Store 文件,我通过使用 Finder 来间接放置.

修复是收紧我用来从 Jenkins 导入一些框架的 rsync 命令以排除 .gitkeep.DS_Store 和任何其他点文件.

天啊.支持工程师同意这是一条令人困惑的错误消息.

I try to publish on AppStore an App that contains Swift 2.0 files, but I receive the following email:

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

I read the following thread oh stackoverflow (Invalid Binary Or Invalid Swift Support Invalid Swift Support / invalid implementation of swift) but I don't find any solution.

I Have a project that has multiple target and uses Cocoa pods.

This is a screenshot of the project navigator:

Ideas?

解决方案

I just resolved an instance of this problem with Apple support.

The problem turned out to be some junk files were being included in the IPA file from my CI/CD system. In particular I had a .gitkeep file which came from a rsync command, and a .DS_Store file which I put there indirectly by poking around with Finder.

The fix was to tighten the rsync command I was using to import some frameworks from Jenkins to exclude .gitkeep, .DS_Store and any other dot-files.

YMMV. The support engineer agreed that it was a confusing error message.

这篇关于Xcode 7.0.1 - 无效的 Swift 支持 - 缺少 SwiftSupport 文件夹.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆