本文介绍了避免在.ipa中使用SwiftSupport文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在最新的Xcode 7.1.1中,创建的ipa具有SwiftSupport文件夹.它增加了ipa大小约20MB.

In latest Xcode 7.1.1, ipa created has SwiftSupport folder. It increased ipa size around 20MB.

旧的Xcode没有在ipa中添加SwiftSupport文件夹

Old Xcode not added SwiftSupport folder inside ipa

如何避免在ipa中使用SwiftSupport文件夹?

How to avoid SwiftSupport folder in ipa ?

推荐答案

在应用程序的构建设置中禁用嵌入式内容包含Swift代码".

如@Rob Napier所述,但如果您有快速的代码项目,也可以将此标志设置为 NO .该标志仅表示您是否拥有一个ObjC项目,该项目通过一个框架包含Swift代码,以表明您需要Swift支持.

As @Rob Napier mentioned, but you can also set this flag to NO if you have a swift code project. The flag only means if you have an ObjC project which includes Swift code via a framework to indicate that you need swift support.

但是,您的IPA文件有多大(如果您担心的话)都没有关系,因为Apple通过iTunes connect删除了正在处理的文件夹,如Apple Developer在论坛上所说: https://forums.developer.apple.com/thread/16339

HOWEVER, it does not matter how big your IPA file is (if that's your concern) because Apple removes the folders on processing via iTunes connect As stated by an Apple Developer in the forums: https://forums.developer.apple.com/thread/16339

这篇关于避免在.ipa中使用SwiftSupport文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 02:57