Xcode 7 档案大小大 [英] Xcode 7 Archive size large

查看:24
本文介绍了Xcode 7 档案大小大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前一直使用 Xcode 6 编写我的 Swift 应用程序.我现在已经升级到 Xcode 7 并升级了我的 Swift 语法.

I've previously been using Xcode 6 to write my Swift app. I've now upgraded to Xcode 7 and upgraded my Swift syntax.

以前,当我对我的应用进行归档时,我确信在 finder 中查看时它的大小只有 12MB 左右.现在,它要大得多(112MB).

Previously, when I did an archive of my app, I'm sure it was only around 12MB in size when viewed in finder. Now, it is much larger (112MB).

我现在按照其他一些帖子的建议在我的构建设置中禁用了包,这使存档减少到 74.9MB.

I have now disabled bundles in my build settings as some other posts have suggested, and this has brought the archive down to 74.9MB.

问题是上传这些大文件在我的互联网连接上变得非常繁重,并且需要很长时间才能被 Apple iTunes 连接处理.

Trouble is that uploading these large file sizes become very heavy on my internet connection and take ages to get processed by Apple iTunes connect.

自从我使用 Xcode 7 以来,有什么方法可以减小存档的大小吗?

Is there any way of reducing the size of the archive since I'm using Xcode 7?

推荐答案

问题是你开启了BitCode:

The problem is that you turned on BitCode:

Bitcode .但如果你想要 它提供的优势.

Bitcode is big. But that's what it takes if you want the advantages that it offers.

具有讽刺意味的是,使用 bitcode,您的应用程序在直接下载到用户的设备时可以小得多(因为它可以针对该设备进行瘦身和优化),但它必须很多上传到 App Store 时更大.

So the irony is that with bitcode, your app can be much smaller when downloaded directly to a user's device (because it can be thinned, optimized for that device), but it has to be much bigger when uploaded to the App Store.

这篇关于Xcode 7 档案大小大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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