[TIMOB-17386] iTunesArtwork and iTunesArtwork@2x files should be omitted from production builds
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-08-30T21:15:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.1.0 |
Components | CLI, iOS |
Labels | n/a |
Reporter | Tim Poulsen |
Assignee | Eric Merriman |
Created | 2014-07-24T20:22:39.000+0000 |
Updated | 2017-03-21T20:36:22.000+0000 |
Description
The iTunesArtwork and iTunesArtwork@2x graphics are needed only for development and AdHoc builds. They serve no purpose in production/AppStore builds and should be removed before you build & submit your app to the iTunes App Store. (Otherwise they're just making the IPA bigger.) See https://developer.apple.com/library/iOs/qa/qa1686/_index.html for a reference on that. The Titans and I tested with an app published without those files and the icon still appears in the iTunes desktop app (for syncing).
We should update the build scripts to omit these files from AppStore production builds.
Logic to update is in iphone/cli/commands/_build.js and the iOSBuilder.prototype.copyItunesArtwork() function on ~line 2359
This was fixed in Titanium SDK 5.1.0. The iTunesArtwork is only copied for adhoc builds.
Closing ticket as fixed.