{"action":"created","issue":{"url":"https://api.github.com/repos/robovm/robovm/issues/843","labels_url":"https://api.github.com/repos/robovm/robovm/issues/843/labels{/name}","comments_url":"https://api.github.com/repos/robovm/robovm/issues/843/comments","events_url":"https://api.github.com/repos/robovm/robovm/issues/843/events","html_url":"https://github.com/robovm/robovm/issues/843","id":60569751,"number":843,"title":"Increase in total app size from app store encryption","user":{"login":"ericnondahl","id":1621682,"avatar_url":"https://avatars.githubusercontent.com/u/1621682?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnondahl","html_url":"https://github.com/ericnondahl","followers_url":"https://api.github.com/users/ericnondahl/followers","following_url":"https://api.github.com/users/ericnondahl/following{/other_user}","gists_url":"https://api.github.com/users/ericnondahl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnondahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnondahl/subscriptions","organizations_url":"https://api.github.com/users/ericnondahl/orgs","repos_url":"https://api.github.com/users/ericnondahl/repos","events_url":"https://api.github.com/users/ericnondahl/events{/privacy}","received_events_url":"https://api.github.com/users/ericnondahl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T21:08:52Z","updated_at":"2015-03-17T21:10:59Z","closed_at":null,"body":"We recently submitted an update for our RoboVM+libGDX game to the iOS app store. They sent us an email that said \"The app binary listed below was 79.3 MB when you submitted it, but will be 128.3 MB once processed for the App Store.\"\r\n\r\nThis puts us over the cell network download limit. From limited research this is from the iOS app store encrypting the binary after you upload. From the Apple help site: \r\n\r\n\"When your app is approved for the App Store, it is encrypted with DRM and recompressed. The encryption and DRM will increase the file size. The exact size of the increase varies, but can be significant if the binary contains a large proportion of contiguous zeros. The final size for your app after the encryption has been added cannot be determined or guaranteed in advance.\"\r\n\r\nWe have a variety of assets included in our libGDX + RoboVM game:\r\n* App Icon PNGs\r\n* Font PNGs\r\n* PVRTC compressed TextureAtlases of main game art and UI\r\n* mp3 sound effects\r\n* third-party static libraries like the Facebook SDK and their content\r\n\r\nI'm not sure if this is something that RoboVM is causing or could improve upon. If there was some way to reduce this compression overhead, it might be nice though."},"comment":{"url":"https://api.github.com/repos/robovm/robovm/issues/comments/82602362","html_url":"https://github.com/robovm/robovm/issues/843#issuecomment-82602362","issue_url":"https://api.github.com/repos/robovm/robovm/issues/843","id":82602362,"user":{"login":"ebbybeh","id":1280342,"avatar_url":"https://avatars.githubusercontent.com/u/1280342?v=3","gravatar_id":"","url":"https://api.github.com/users/ebbybeh","html_url":"https://github.com/ebbybeh","followers_url":"https://api.github.com/users/ebbybeh/followers","following_url":"https://api.github.com/users/ebbybeh/following{/other_user}","gists_url":"https://api.github.com/users/ebbybeh/gists{/gist_id}","starred_url":"https://api.github.com/users/ebbybeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebbybeh/subscriptions","organizations_url":"https://api.github.com/users/ebbybeh/orgs","repos_url":"https://api.github.com/users/ebbybeh/repos","events_url":"https://api.github.com/users/ebbybeh/events{/privacy}","received_events_url":"https://api.github.com/users/ebbybeh/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T21:10:59Z","updated_at":"2015-03-17T21:10:59Z","body":"I have the same issue. Apple's processing adds another 50MB to the app."}}