How can I fix the "Size Limit Exceeded" for my Apple Watch app?

Every time I try to send an update for my application, I get this error:

enter image description here

I literally deleted all assets from the application, with the exception of .Swift files, storyboards, and plists. Therefore, I know that the application is not more than 50 MB. However, I keep getting this error, regardless of what else I remove from the application.

I restarted Xcode, restarted my Mac, changed the build number, deleted the assets, and nothing changed.

Does anyone have any ideas?

+6
source share
1 answer

I emailed Apple and they helped me find the problem. My watchOS application was configured to have duplicate copies of Swift runtime libraries, one in the watchOS application and another copy in the watchOS application extension.

I needed to go to the settings of the extension project and set to Always embed standard style libraries in No.

+16
source

Source: https://habr.com/ru/post/1012123/


All Articles