beninabox_uk
beninabox_uk

Reputation: 684

Xcode 7 Archive size large

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

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).

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.

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.

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

Screenshot of project files

Screenshot of archive file

Upvotes: 11

Views: 3958

Answers (1)

matt
matt

Reputation: 534925

The problem is that you turned on BitCode:

enter image description here

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

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.

Upvotes: 18

Related Questions