Decrease iOS Application size to App Store

前端 未结 6 1310
抹茶落季
抹茶落季 2020-12-31 17:37

I am trying to submit an application in App Store, and I need to decrease its memory a little bit, if this is possible. I tried a method which I am gonna describe below to m

6条回答
  •  鱼传尺愫
    2020-12-31 17:50

    How can I reduce the size of this executable file

    You cannot reduce the size of the executable inside your built app bundle. This is your code! The only ways to reduce its size are:

    • Cut code. Obviously you can't do that because you would exclude functionality that makes your app work.

    • Remove an architecture slice. You should not do that because you want to build for all possible architectures.

    Having said that... I have never generated an executable inside the app bundle anywhere near this large. Maybe you are measuring / building wrong:

    • Make sure you are archiving. Nothing else except an archive is worth measuring.

    • Make sure that you are generating a Release build when you Archive.

    • Make sure that your Release build settings include the full compiler optimization (smallest, fastest).

提交回复
热议问题