Swift库包含在IPA中两次 [英] Swift libraries included twice in IPA

查看:73
本文介绍了Swift库包含在IPA中两次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现所有Swift库(libswiftCore.dylib,libswiftCoreGraphics.dylib等)在IPA中都存在两次.解压缩IPA之后,在SwiftSupport文件夹中有一个这样的库版本,而在Payload/Frameworks中又有相同的文件.

I discovered that all the Swift libraries (libswiftCore.dylib, libswiftCoreGraphics.dylib,...) exist twice in the IPA. After decompressing the IPA, there is one version of theses libraries inside the folder SwiftSupport and the same files again inside Payload/Frameworks.

据我所知,在构建Swift项目时,Xcode始终会生成SwiftSupport文件夹.但是Payload/Frameworks中的Swift库从哪里来?我如何摆脱它们?

As far as I found out, the SwiftSupport folder is always generted by Xcode when a Swift-project is built. But where do the Swift libraries in Payload/Frameworks come from and how can I get rid of them?

推荐答案

我发现使用嵌入的内容包含Swift"值产生了一些不错的效果,并且对于我的Apple Watch扩展应用程序来说,这实际上是至关重要的通过验证.

I've found that playing around with 'Embedded content contains Swift' value yielded some good results, and was actually crucial for my app with an Apple Watch extension to pass validation.

我已经在此处写了有关Apple Watch修复程序详细信息的答案.

这篇关于Swift库包含在IPA中两次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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