Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1299] Cannot build a new project for iOS due to missing appicons

GitHub Issuen/a
Resolution Date2015-08-19T17:26:14.000+0000
Affected Version/sAlloy 1.7.0
Fix Version/sRelease 5.1.0, alloy-1.7.4
Labelsqe-5.0.0, regression
ReporterSatyam Sekhri
AssigneeChris Barber


Cannot build to iOS simulator or device. Error shown during build for missing appicons. This is a regression as the issue does not occur on 4.1.0.GA Steps to Reproduce: 1. Create a new titanium project 2. Build it for iOS simulator or device Actual Result: An error is shown
[ERROR] No suitable app icon that is at least 180x180, unable to create missing icons:
[ERROR]   appicon-Small@3x.png - Used for iPhone - required size: 87x87 (29x29 @3x)
[ERROR]   appicon-Small-40.png - Used for iPad - required size: 40x40 (40x40 @1x)
[ERROR]   appicon-Small-40@2x.png - Used for iPhone, iPad - required size: 80x80 (40x40 @2x)
[ERROR]   appicon-Small-40@3x.png - Used for iPhone - required size: 120x120 (40x40 @3x)
[ERROR]   appicon-76.png - Used for iPad - required size: 76x76 (76x76 @1x)
[ERROR]   appicon-76@2x.png - Used for iPad - required size: 152x152 (76x76 @2x)
[ERROR] An error occurred during build after 8s 152ms
ERROR  | ti run exited with error code 1
Expected Result: The project should build successfully for iOS


  1. Chee Kiat Ng 2015-08-18

    I believe this issue only occurs using appc new and appc run. Putting in Tooling.
  2. Chris Barber 2015-08-18

    A) The error is by design and B) you should never have this problem with new projects.
  3. Chee Kiat Ng 2015-08-18

    [~cbarber], it's happening on new projects, when using appc.

    Steps to reproduce

    1. Create new appc titanium project: appc new 2. Enter project directory 3. Build: appc run -p ios the error will show. ti create and ti build is perfectly fine though.
  4. Chris Barber 2015-08-18

    [~cng] Either you don't have the latest SDK or you have a bad scons build. The default app icon is in the template and should exist when creating new projects: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/templates/app/default/template/Resources/iphone/appicon.png.
  5. Satyam Sekhri 2015-08-18

    The issue does not occur on a new classic project. The error is only when the newly created project is an Alloy project.
  6. Chris Barber 2015-08-18

    PR: https://github.com/appcelerator/alloy/pull/714
  7. Harry Bryant 2015-10-29

    Verified as fixed, I am able to create new Alloy projects and build them to iOS devices and Sims (8.4 & 9.1) without issue. Also verified that appicon@2x.png uses the right icon, and has been resized to 512px X 512px . Mac OSX El Capitan 10.11 (15A284) Studio: Ti SDK: 5.1.0.v20151028190028 Appc NPM: 4.2.1 Appc CLI: 5.1.0-38 Ti CLI: 5.0.4 Alloy: 1.7.4 Xcode 7.1(7B91b) Node v4.2.1 production *Closing ticket.*

JSON Source