Decrease iOS Application size to App Store
app-store, ios, xcode5
Solution
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).
Problem
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 make my app lighter, but with not luck. Details I followed these steps to see what was causing this large size - Make an archive of the project - Distribute it - Save for Enterprise or Ad-Hoc Deployment - Select the `.ipa` file and changed the extension to `.zip` - Extract it, and open Payload - Show the Package Contents Contents I had `.png` files with 680 `Kb` (when I added those where 32 kb approximately), I deleted them and I reduced the size of application by 2 MB. There are other files that take space but not considerably, except one executable file that is taking about 90 % of the `.ipa's` size. Question Is it possible to decrease executable file's size? If not then can you give me a hint where I should look to make my app lighter in terms of size. P.S I use third party libraries like Vuforia SDK and libraries on GitHUB