iOS 上传ipa,收到邮件Invalid Swift Support

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-1 18:13   11   0

iTunes Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, "智能库房". Please correct the following issues, then upload again.

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

本来是纯OC写的项目,不知道为什么会出现要求swift支持库。

经过几天的查找资料和测试,发现swift的支持库都是dylib文件。

项目里的target的embedded binaries里加了第三方动态库dylib。

所以这次出现这个报错的原因就是在embedded binaries加了dylib文件。在这里加,会在生成的ipa里的Frameworks目录下出现这些库文件。可能是被苹果认为这些库和swift有关所以才要求swift support。

最后的解决办法是让厂家那边重新生成动态库,以framework的方式打包,而不是用dylib来。

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP