I tried to build an IPA on the code server:
![]()
Wasn't/isn't it 50 MB?
I removed 3 MB, but the IPA won't build.
Building the APK works (34.5 MB).
Does the limit apply to the AIA or the build app (IPA/APK)?
@ewpatton
I believe the 30 MB check on code2.appinventor.mit.edu is vestigial from the backend ai2 logic.
Because ai2 runs in Google App Engine, any outgoing HTTP traffic is limited to 32 MB, including the HTTP headers, etc. This affects both sending projects to the buildservers as well as the download of the final build product to your computer. The "side effect" of Google's design is that once 32 MB is reached it kills the connection without any error message. To compensate for this, we added a check as we construct the AIA file that if it gets to the point where it will be too big to simply return a more human readable error.
I believe this is something we can relax on code2.
In fact, I was able to create an almost 50 MB IPA on the code2 server the day before yesterday.

and today I tried again after reloading the browser(*) mulitple times after removing another 1 MB from the assets:

However, the project file can only be about 24-26 MB in size (probably depending on compressible files in the assets) for an IPA to be built.
The size difference between IPA (~50MB) and APKs (~34MB) is considerable and is actually not very Apple-like.
(*) Very often this error message occurred (Firefox, Chrome, Supremium → Win7):
Technical Data to be Submitted:
notes = Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
foundIn = code55b-1
faultData = com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read properties of null (reading 'd')
projectId = -1