{ "id": "109908", "key": "AC-2440", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-03-19T17:34:27.000+0000", "created": "2013-02-20T10:27:28.000+0000", "labels": [ "ios", "studio" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:29.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "At some point during a build for iOS the appicon.png file in Resources is being overwritten with the default Ti logo appicon.png. Saw this happen before with Ti Studio 3.00 but then it was fixed.\r\n\r\nJust ran a simple test and built for iOS Simulator and my appicon.png was overwritten. ", "attachment": [], "flagged": false, "summary": "iOS: appicon.png being overwritten with default Ti logo appicon.png", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX Mountain Lion\r\nTi Studio 3.0.2\r\nTi SDK 3.0.2", "comment": { "comments": [ { "id": "239118", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears that if you put an appicon.png in Resources/iphone, then it is no longer overwritten with the default. \n\nThis is annoying because it is change to the previous behavior and in my view violates a rule of development environments not to overwrite supplied info without consent.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-20T21:16:24.000+0000", "updated": "2013-02-20T21:16:24.000+0000" }, { "id": "239322", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Joe,\n\nCan you please provide the test case that shows this issue so that I may verify the bug? \n\nThank you,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-21T22:02:13.000+0000", "updated": "2013-02-21T22:02:13.000+0000" }, { "id": "239362", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1. create default Ti classic project in 3.02 Studio\n2. remove appicon.png from Resources/iphone\n2. put appicon.png in Resources that is different from the default Ti logo appicon.png file\n3. build for iPhone simulator\n\nThat's it. The reason why you haven't seen it in regression testing is because you probably don't test with appicons other than the Ti logo default.\n\nFrom what I can tell, Ti Studio does not see an appicon.png file in Resources/iphone so it assumes that there isn't one (always a really bad idea to assume stuff).\nThen it makes the second mistake of overwriting whatever appicon.png file may be in Resources with the default Ti logo appicon.png file. \nGiven that there are very few (maybe zero) situations where you would actually want to use the default Ti logo appicon.png file, this is kind of a crazy thing to do.\n\nThe fix is to put a copy of your desired appicon.png file in Resources/iphone - but this is kind of weird anyway given that you need to put all the other appicon*.png files (ilke appicon@2x.png, etc) in Resources.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-22T06:20:37.000+0000", "updated": "2013-02-22T06:20:37.000+0000" }, { "id": "239866", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I do not think that your icon files should be in the Resources folder, they should be located within Resources/iphone and Resources/android respectively. This is how the icons should be located for all projects because this is the auto path that an app looks in when it tries to find the icon. In your last sentence: \n\n\"but this is kind of weird anyway given that you need to put all the other appicon*.png files (ilke appicon@2x.png, etc) in Resources.\" \n\nI do not find this to be the case. For all projects, icons such as appicon@2x.png are also located in Resources/iphone and Resources/android.", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T21:11:11.000+0000", "updated": "2013-02-26T21:11:11.000+0000" }, { "id": "239985", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Then I would suggest that you change the Ti 3.0 documentation\n[http://docs.appcelerator.com/titanium/3.0/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-iOSgraphicassetrequirementsandoptions]\nwhich currently states that appicons can be in either Resources or Resources/iphone.\n\nRegardless, this is a change from the previous behavior and I don't understand why it was necessary to change from the previous behavior - but I'll go ahead and change my dozen apps.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T12:04:17.000+0000", "updated": "2013-02-27T12:04:17.000+0000" }, { "id": "240054", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Joe, let me ask engineering if this was a deliberate change or a possible mistake, I'll look into it more and get back to you. Sorry for the inconvenience. ", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T21:42:14.000+0000", "updated": "2013-02-27T21:42:14.000+0000" }, { "id": "240058", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Joe, \n\nI have done a bit of testing over that past day or so and I cant seem to replicate the part where the appicon.png is overwritten with the default Titanium appicon.png. The icon just shows up blank on the homescreen when I put a different appicon.png in the Resources folder. Could you post some screenshots that shows the behavior you described?\n\nThanks,\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T22:05:08.000+0000", "updated": "2013-02-27T22:05:08.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }