{ "id": "106211", "key": "TIMOB-12011", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14785", "description": "2012 Sprint 25 JS", "name": "2012 Sprint 25 JS", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-12-10T22:53:11.000+0000", "created": "2012-12-10T07:12:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "26350", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "110594", "key": "TIDOC-1051", "fields": { "summary": "Guides: Update documentation about custom plists usage", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "23593", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106423", "key": "TIMOB-12069", "fields": { "summary": "CLI: Custom Info.plist values not properly overwritten by tiapp.xml values or inheriting from default Info.plist", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-03-13T18:59: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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "According to Marco Ferreira, \"I noticed when deploying the app to the device (adhoc and installing with iTunes) the app icon always gets the gloss, which means its not respecting the UIPrerenderedIcon property in tiapp.xml.\"\r\n\r\nThis will require some investigation.", "attachment": [ { "id": "34066", "filename": "gloss in app list.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:07.000+0000", "size": 26919, "mimeType": "image/png" }, { "id": "34067", "filename": "gloss in library.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 41902, "mimeType": "image/png" }, { "id": "34068", "filename": "gloss in sim.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 85279, "mimeType": "image/png" }, { "id": "34069", "filename": "gloss on device.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 1018667, "mimeType": "image/png" }, { "id": "34070", "filename": "itunes asking to update version.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 30889, "mimeType": "image/png" }, { "id": "34071", "filename": "updated app after update clicked.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 27206, "mimeType": "image/png" }, { "id": "34072", "filename": "updated app previously synced.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:54:46.000+0000", "size": 26855, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: iOS: UIPrerenderedIcon ignored and icons are always glossy", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "230649", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified occurs with:\nSDK: 3.0.0.v20121207120202\nTitanium Studio, build: 3.0.0.201212061921\nMac OS X 10.8.2\nXcode 4.5.2\nCLI: 3.0.20", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-10T18:37:34.000+0000", "updated": "2012-12-10T18:37:34.000+0000" }, { "id": "230704", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Disregard my previous comment. Had the XML out of sorts. This works for me with Ad-hoc distribution installing through iTunes. Icon in iTunes has no gloss and icon on device has no gloss.\n\n{code}\n\n \n \n \tUIPrerenderedIcon\n \t\t \n UISupportedInterfaceOrientations\n \n UIInterfaceOrientationPortrait\n UIInterfaceOrientationPortraitUpsideDown\n UIInterfaceOrientationLandscapeLeft\n UIInterfaceOrientationLandscapeRight\n \n \n \n \n{code}\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-10T22:03:45.000+0000", "updated": "2012-12-10T22:03:45.000+0000" }, { "id": "230729", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is a non-issue. Everything works as expected.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-10T22:53:11.000+0000", "updated": "2012-12-10T22:53:11.000+0000" }, { "id": "230829", "author": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I'm having this issue for a long time and it's still happening with the latest CLI.\r\n\r\nNote this is only happening using the CLI. Starting Studio bypassing CLI will build my app as expected and icon prerender setting is respected.\r\n\r\nThis is my chunk from tiapp.xml:\r\n{code:xml}\r\n \r\n 6.0\r\n 5.1\r\n \r\n \r\n UIPrerenderedIcon\r\n \r\n UIStatusBarStyle\r\n UIStatusBarStyleBlackOpaque\r\n UIRequiresPersistentWiFi\r\n \r\n UIStatusBarHidden\r\n \r\n UISupportedInterfaceOrientations~iphone\r\n \r\n UIInterfaceOrientationPortrait\r\n \r\n UISupportedInterfaceOrientations~ipad\r\n \r\n UIInterfaceOrientationPortrait\r\n UIInterfaceOrientationPortraitUpsideDown\r\n UIInterfaceOrientationLandscapeLeft\r\n UIInterfaceOrientationLandscapeRight\r\n \r\n \r\n \r\n \r\n{code}\r\n\r\nI don't see any difference from what Chris posted above, but correct me if I'm wrong.", "updateAuthor": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-11T16:17:11.000+0000", "updated": "2012-12-11T16:17:11.000+0000" }, { "id": "230862", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Marco, your tiapp.xml looks fine. Next I need to find out a bunch of things. First, from the command line, run \"titanium\" and report back in this ticket the CLI version and SDK version from the first line of output. Second, change directory into your project, then run \"titanium build --platform ios --target dist-adhoc\". You'll need to specify the distribution name, output directory, and provisioning profile uuid. When the build finishes, drag the ipa file from the output directory into iTunes so that you can sync and test.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-11T18:02:07.000+0000", "updated": "2012-12-11T18:02:07.000+0000" }, { "id": "230872", "author": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "$ titanium\r\nTitanium Command-Line Interface, CLI version 3.0.20, Titanium SDK version 3.1.0.v20121128155800\r\n\r\nI'm not using 3.1.0 as the output may tell, I'm with 3.0.0.v20121207120202 right now.\r\n\r\nProject builds successfully, but for some reason iTunes doesn't recognize this build as an update for the app so it doesn't update the app on my device. (most likely a seperate issue)\r\n\r\nAfter deleting the app from my device and installing the new build, the app icon has the gloss.", "updateAuthor": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-11T18:40:59.000+0000", "updated": "2012-12-11T18:40:59.000+0000" }, { "id": "230876", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Marco, OK, sounds like your \"active\" Titanium SDK is set to 3.1.0.v20121128155800 and your tiapp.xml's sdk-version is set to 3.0.0.v20121207120202. That should be fine.\n\nI have a couple of questions:\n\n1) What version of iTunes do you have?\n\n2) Does it error when installing the app in iTunes or when you sync your device?\n\nOne thing you can try is going into iTunes, then go to the apps screen. Find your app and delete it. You can delete the app from your device too. Then drop the ipa file back into iTunes and sync your device.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-11T18:57:58.000+0000", "updated": "2012-12-11T18:57:58.000+0000" }, { "id": "230902", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\n\nUsing the TiApp.xml from Marco's project, I used only the CLI (now 3.0.21) to build for simulator, then on device. I am running:\nSDK 3.0.0.v20121210171701\nActive sdk set in CLI with \"ti sdk select 3.0.0.v20121210171701\"\nTarget iOS SDK: 6.0\nXcode 4.5.2\niTunes: 11\n\nSimulator showed gloss/no gloss correctly (app icon), iTunes showed gloss correctly (iTunesArtwork), device showed gloss correctly (app icon). See attached screenshots.\n\nRegarding iTunes updating for newer versions:\nCreating a \"for device\" build when the app has previously been built caused iTunes to prompt me to replace. When already synced to device, iTunes marked the new app as \"update\" and the button must be clicked for the sync to actually update. This additional step was not required in iTunes 10. See screens.\n\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T19:44:27.000+0000", "updated": "2012-12-11T19:44:27.000+0000" }, { "id": "230910", "author": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Chris\r\n1. iTunes 11\r\n2. No error\r\n\r\nI did exactly that when testing the CLI as you suggested.\r\n\r\n\r\n@Eric\r\nAfter the build is completed by the CLI, I get the same request from iTunes you mentioned - \"Replace?\" - and I just answer to replace it, but unfortunetly it seems iTunes (or the CLI) sees it as the same version I already have installed on the device.", "updateAuthor": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-11T20:15:55.000+0000", "updated": "2012-12-11T20:15:55.000+0000" }, { "id": "231054", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Marco, are you using a custom info.plist that includes a version? If so, the version for your app will remain static at that version and so iTunes will not regard it as changed. We are writing another bug to document this and I will relate the two. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-12T18:33:50.000+0000", "updated": "2012-12-12T18:33:50.000+0000" }, { "id": "231055", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "One other thing to note, I will be verifying that custom info.plist is not stomping on the values set in Tiapp.xml.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-12T18:38:17.000+0000", "updated": "2012-12-12T18:38:17.000+0000" }, { "id": "231073", "author": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Yes I have a custom info.plist. This was exactly what i remembered that could be causing it.\r\nI was using the custom plist to add a custom font, but since tiapp.xml already supports adding plist keys, I've deleted the custom plist.\r\n\r\nRemoving the custom plist solves the problem.", "updateAuthor": { "name": "m@rco.cc", "key": "m@rco.cc", "displayName": "Marco Ferreira", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-12T19:33:49.000+0000", "updated": "2012-12-12T19:33:49.000+0000" }, { "id": "240630", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing based on comments above. If we need another bug for some issue with the custom plist we will open one.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T22:45:59.000+0000", "updated": "2013-03-04T22:45:59.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }