{ "id": "83052", "key": "TIMOB-6293", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-16T10:51:48.000+0000", "created": "2011-11-23T11:53:49.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14173", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "83560", "key": "TIMOB-6558", "fields": { "summary": "iOS: CFBundleShortVersionString is inaccurate for packaged apps", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T18:30:04.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "A customer wants to add a new feature to control the version string. The reason is our building system appends a timestamp to the version bundle string of the app. For apps with longer versioning systems, this can quickly make the string longer than the submission policies allow.\r\n\r\nA current workaround is edit the compiler.py under the TiSDK/iphone folder to remove the timestamp.\r\n\r\nh4. Associated Helpdesk Ticket\r\nhttp://support-admin.appcelerator.com/display/APP-149249", "attachment": [], "flagged": false, "summary": "iOS: allowing a build parameter to quickly allow/disallow the editing of the version string.", "creator": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode4.2, iOS4, iOS5", "comment": { "comments": [ { "id": "173911", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Isn't the fix for this to make sure we comply with the submission guidelines and not force people to hand edit the file or in studio?", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-23T13:19:31.000+0000", "updated": "2011-11-23T13:19:31.000+0000" }, { "id": "174923", "author": { "name": "kmcgrath", "key": "kmcgrath", "displayName": "Kevin McGrath", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Commenting here per ticket above.\r\n\r\nCorrect. The request is two-fold. One is to make sure submission guidelines are always complied with (perhaps impose max character limit if string is altered during compile). Two would be to notify the user that their apps setting are being altered automatically, and provide option to opt-out.", "updateAuthor": { "name": "kmcgrath", "key": "kmcgrath", "displayName": "Kevin McGrath", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T14:49:55.000+0000", "updated": "2011-12-05T14:49:55.000+0000" }, { "id": "175039", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should note that we're manually adjusting the version string in the builder/compiler to include a timestamp; this can almost certainly be removed. That's probably the fix for this one.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T13:39:03.000+0000", "updated": "2011-12-06T13:39:03.000+0000" }, { "id": "175507", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "test instruction...\r\n\r\nTest 1\r\n1. Build any app and run for Simulator\r\n2. exit and change something in the app and rerun the app in Simulator and see if the changes have taken place.\r\n\r\nTest 2\r\n1. Build for device.\r\n2. Open the build .ipa file, change the extension of the file to .zip . Extract the file go inside and open up the info.plist.\r\n3. Change something in the same app, rebuild it again for device and Check to see if app get reinstalled on device properly. Repeat Step 2 & 3.\r\n\r\nTest 3\r\n1. Build for distribution\r\n2. Package the app. \r\n3. Open the build .ipa file, change the extension of the file to .zip . Extract the file go inside and open up the info.plist.\r\n4. Check to see if the info.plist Bundle Version string is short . for example 1.0.2.3 i.e if you specified your app version in tiapp.xml to be 1.0.2 major/minor/patch\r\n\r\nNOTE : MAKE SURE WHEN YOU BUILD FOR DEVICE, WHAT EVER VERSION YOU SPECIFIED IN TIAPP.XML IS REFLECTED PROPERLY IN INFO.PLIST", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-08T17:36:31.000+0000", "updated": "2011-12-09T16:26:50.000+0000" }, { "id": "175508", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull $889 pending\r\n", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-08T17:36:53.000+0000", "updated": "2011-12-08T17:36:53.000+0000" }, { "id": "175761", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Properly fix-versioning, but leaving open until we can merge to 1.7.6.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-12T09:42:25.000+0000", "updated": "2011-12-12T09:42:25.000+0000" }, { "id": "176140", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No longer occurs with SDK 1.8.0.1.v20111214093905. Keeping open until verified in 1.9.0 branch.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T14:46:53.000+0000", "updated": "2011-12-14T14:46:53.000+0000" }, { "id": "184310", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "I think the question arises regarding what is development and what is distribution.\r\n\r\nThe changes in Pull 889 assume that 'development' is anything built and not passed out to 'Distribute - App Store'. IE: timestamp remains on simulator and device builds.\r\n\r\nHowever, not all testing is done only on simulator or local/tethered devices. This change affects AdHoc testing support systems such as TestFlight in that unless the developer manually updates the version in TiApp.xml, one build of version 1.4.1 looks the same as the next as the CFBundleVersion is not unique and not incremented.\r\n\r\nApple seems to expect CFBundleVersion to be used as an incremented string.\r\n\r\nWhile I understand the original customers unique situation, in meeting their needs, the changes affected a large portion of the community negatively. Those users not using an outside/custom versioning system will have to hack back in the autoincrement code that was removed, or manually edit the TiApp.xml to increment the version before distributing via AdHoc for testing.\r\n\r\nThis change needs to be re-visited.", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-26T06:43:54.000+0000", "updated": "2012-02-26T06:43:54.000+0000" }, { "id": "414276", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:30:04.000+0000", "updated": "2017-03-21T18:30:04.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }