Reduce iOS App Size

You must Login before you can answer or comment on any questions.

Hi,

with the latest SDK 2.1.2 my app is about 17 MB large. With 1.8 it was only about 10 MB.

I have included some large splashscreens (Default-Landscape@2x.png, Default-Portrait@2x.png, Default-568h@2x.png) in the directory Resouces/iphone/

I have noticed in the packaged app, that all files from Resouces/iphone/ are also copied to the main folder Resources, so these files exist twice.

Is it safe to copy the screens only to the folder "Resources", ignoring the subfolder "iphone" to save some MBs? On a real device this seems to work, but on the simulator the splashscreen is sometimes not shown. Don't know how an approved app from the appstore would behave?

BTW: this is an iOS app only, Android can be ignored.

Best Danny

— asked 9 months ago by Danny Pham
1 Comment
  • I've been having similar issues. Hope someone has a fix/tweek/hack around this.

    — commented 9 months ago by Nikhil Nigade

1 Answer

There is no Problem copying them into the Main Folder. The iPhone and android folders are for platform specific resources. Therefore you should be fine.

You may need a full rebuild for the Simulator.

Your Answer

Think you can help? Login to answer this question!