Project: titanium
Issue TIMOB-19405: iOS9: Support Tablet or Smartphone icons sets
h6.Issue Description When building a tablet application the CLI requires the 180x180 iPhone 6s icon as [outlined by Apple|https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1] --platform flag is being used and pass in iPhone or iPad which [according to doc| http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_Command-Line_Interface_Reference] now just map to ios. h6.Proposal for this request Is it possible to have the TiSDK changed so that if the 180x180 icon is not present but the 152x152 icon is for a tablet app it will warn that the phone icon is not present but will proceed and make the needed tablet icons from the 152x152 icon. That or bring back the platforms flag and then let it check the assets based on that. {quote} -p, --platforms Target build platform: Supported values are android, ios, and mobileweb. (iphone and ipad are currently accepted as synonyms for ios.) {quote} We don't have 180x180 images in our tablet build specs so if that is a new requirement it will be a decent effort on our side to complete and its not needed by Apple. It doesn't seem like the appropriate solution. h6.Build Output Currently we have the error as follows: {code} [exec][DEBUG] Found valid app icon Resources/iphone/appicon–60@2x.png (120x120) [exec][DEBUG] Found valid app icon Resources/iphone/appicon–60@3x.png (180x180) [exec][DEBUG] Unsupported app icon Resources/iphone/appicon@2x.png, skipping [exec][DEBUG] Missing 8 app icons, attempting to find appicon.png to generate missing icons [exec][DEBUG] Skipping app icon Resources/iphone/appicon@2x.png because image is not large enough; current size 114x114, should be at least 180x180 [exec][DEBUG] Skipping app icon Resources/iphone/appicon.png because image is not large enough; current size 57x57, should be at least 180x180 [exec][ERROR] No suitable app icon that is at least 180x180, unable to create missing icons: [exec][ERROR] appicon-Small.png - Used for iPad - required size: 29x29 (29x29 @1x) [exec][ERROR] appicon-Small@2x.png - Used for iPhone, iPad - required size: 58x58 (29x29 @2x) [exec][ERROR] appicon-Small@3x.png - Used for iPhone - required size: 87x87 (29x29 @3x) [exec][ERROR] appicon-Small–40.png - Used for iPad - required size: 40x40 (40x40 @1x) [exec][ERROR] appicon-Small–40@2x.png - Used for iPhone, iPad - required size: 80x80 (40x40 @2x) [exec][ERROR] appicon-Small–40@3x.png - Used for iPhone - required size: 120x120 (40x40 @3x) [exec][ERROR] appicon–76.png - Used for iPad - required size: 76x76 (76x76 @1x) [exec][ERROR] appicon–76@2x.png - Used for iPad - required size: 152x152 (76x76 @2x) [exec][ERROR] An error occurred during build after 3s 889ms {code}
Story points: 5