Xcode 7存档大小很大 [英] Xcode 7 Archive size large

查看:97
本文介绍了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.

以前,当我对我的应用程序进行归档时,我确信它只有大约12MB在finder中查看时的大小。现在,它更大(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.9 MB。

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?

< a href =https://i.stack.imgur.com/SwmjH.png =noreferrer>

推荐答案

问题是你打开了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天全站免登陆