I have been building an app clip using the Xcode 12 beta. According to the documentation the application should be less than 10MB, but I have no way of seeing if I am actually below this limit.
I disagree with the current previous accepted answer. It is certainly wrong since it includes the code for all architectures, maybe the bitcode and does not have the final compression from the app store. You should refer to Apple's guide on how to estimate the app size. Look here for "Create the App Size Report".
tl;dr Find the clip size like this:
In the exported folder you will find a file called App Thinning Size Report.txt
It now has 2 entries. One for your main app and one for your app clip. Look for a line like:
App size: 6.7 MB compressed, 18.6 MB uncompressed
I assume the 10MB limit refers to the compressed size of the app since network traffic should be the limiting factor. Seems like my assumption was wrong, the 10MB limit refers to the uncompressed size according to an Apple Developer Technical Support Engineer. Refer to kanekins comment below for more details.
The app clip will be uploaded as a part of your regular app and is included in the archived version of your application. You can find out what the size is of your app clip if you take the following steps:
Some ideas to prevent the size from billowing out of control:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With