Project: titanium
Issue TIMOB-19809: iOS: "There are missing app icons" error is returned if you build a mobile project pre-5.0.0 stack
*Details:* "There are missing app icons" error is returned if you build a mobile project pre-5.0.0 stack that *DOES have all required app icons.* *Steps to reproduce:* # Create an Alloy project using pre-5.0.0 stack: ** Appc CLI NPM: 4.1.1 ** Appc CLI Core: 4.1.3 ** SDK: 4.1.0.GA ** Node: v0.12.7 ** OS: El Capitan (10.11.1) # After the Alloy project is created, switch your environment to 5.1.X stack; see above environment field # Next, clean your Alloy project with {{appc ti clean}} # Then, install your Alloy project to an iOS device *Actual:* "There are missing app icons" error and 'alpha channel' warnings are returned; see attachment. *Expected:* ||Required App Icons||Optional App Icons||DefaultIcon.png||DefaultIcon-ios.png||Expected Result|| |All present, correct size, no alpha|All present, correct size, no alpha|doesn't matter|doesn't matter|build succeeds| |Missing 1 required icon|All present, correct size, no alpha|no|no|build fails| |Missing 1 required icon|All present, correct size, no alpha|yes w/o alpha|no|missing icon generated from DefaultIcon.png, build succeeds| |Missing 1 required icon|All present, correct size, no alpha|yes w/ alpha|no|DefaultIcon.png flattened, missing icon generated from DefaultIcon.png, build succeeds| |1 or more icons have alpha|All present, correct size, no alpha|none|none|app icon is flattened, build succeeds| |1 or more icons have alpha|All present, correct size, no alpha|yes w alpha|none|app icons are flattened, build succeeds| |1 or more icons have alpha|All present, correct size, no alpha|yes w alpha|yes w/o alpha|generates non-alpha icons from DefaultIcon-ios.png, build succeeds| |Icon has wrong size|All present, correct size, no alpha|no|no|build fails| |Icon has wrong size|All present, correct size, no alpha|yes w/o alpha|no|generates app icon from DefaultIcon.png with correct size, build succeeds| |Icon has wrong size|All present, correct size, no alpha|yes w/ alpha|no|flattens DefaultIcon.png, generates app icon from DefaultIcon.png with correct size, build succeeds| |Icon has wrong size|All present, correct size, no alpha|yes w/ alpha|yes w/o alpha|generates app icon from DefaultIcon-ios.png with correct size, build succeeds| |All present, correct size, no alpha|Missing app icon|no|no|prints warning, build succeeds| |All present, correct size, no alpha|Missing app icon|yes w/ alpha|no|DefaultIcon.png flattened, missing icon generated from DefaultIcon.png, build succeeds| |All present, correct size, no alpha|Missing app icon|yes w/ alpha|yes w/ alpha|DefaultIcon-ios.png flattened, missing icon generated from DefaultIcon-ios.png, build succeeds| |All present, correct size, no alpha|Missing app icon|yes w/ alpha|yes w/o alpha|Missing icon generated from DefaultIcon-ios.png, build succeeds|
Story points: 8