{ "id": "118477", "key": "TIMOB-14878", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T20:57:16.000+0000", "created": "2013-08-14T06:50:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_build", "qe-3.1.2", "qe-testadded" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "37147", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "127196", "key": "TIMOB-16555", "fields": { "summary": "iOS: Xcode5.1-b5 - Version Mismatch warning, asking for 3 digits when Validating app, packaged for iTunes store", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-05-23T20:57:20.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "CFBundleShortVersionString is same as CFBundle version. \r\nThis is not regression since the sisue occurs in 3.1.1 GA as well.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below and build it using studio.\r\n2. On your computer, navigate to /build/iphone/Info.plist for your project.\r\n3. Open the Info.plist file with a text editor\r\n\r\nExpected result\r\n\r\nAfter step 3: The following values should be in the Info.plist\r\n\r\n{code}\r\nCFBundleVersion\r\n2.1.3.4\r\nCFBundleShortVersionString\r\n2.1.3 \r\n{code}\r\n\r\nActual:\r\nThe values in info.plist are as follows:\r\n\r\n{code}\r\nCFBundleVersion\r\n2.1.3.1376461852083\r\nCFBundleShortVersionString\r\n2.1.3.1376461852083\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: CFBundleShortVersionString is same as CFBundle version", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with:\r\nSDK: 3.1.2.v20130813151607\r\nAppcelerator Studio: 3.1.2.201308091728\r\nOS: OSX 10.8.4\r\nDevice: iPhone5(v 6.1.4)\r\nXcode: 4.6.3", "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "266427", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We have two things to consider here:\r\n# Non-production builds: Development builds for iOS must have the appended timestamp in order for the new builds to trigger an update of the app with iTunes and with subsequent device sync.\r\n# Production builds: We had a community ticket marked as invalid since it was using a 4-segment version and Apple spec is for 3 segment.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T16:14:02.000+0000", "updated": "2013-08-14T16:16:31.000+0000" }, { "id": "266465", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Eric is correct. In the example \"2.1.3.1376461852083\", the \"1376461852083\" part only exists for device builds. It is generated. If your tiapp.xml version is 1.2.3.4, the \"4\" is stripped and replaced with a random number for device builds and for all other builds the \"4\" should just be stripped to meet Apple's requirements.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-14T19:03:47.000+0000", "updated": "2013-08-14T19:03:47.000+0000" }, { "id": "266467", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Do we know if iTunes relies on the CFBundleVersion or CFBundleShortVersionString when doing the install to device? If it relies on the CFBundleShortVersionString, then I say we resolve this as won't fix.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-14T19:05:32.000+0000", "updated": "2013-08-14T19:05:32.000+0000" }, { "id": "274283", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Where is the information on the timestamp being required? Both properties appear to require 3 segments according to https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T22:30:37.000+0000", "updated": "2013-10-08T22:30:37.000+0000" }, { "id": "274287", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~ingo] As stated in the above comments, the timestamp is required for iTunes to detect a newer version and initiate the sync. Distribution builds force the versions to be in the format X.Y.Z.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-08T22:37:43.000+0000", "updated": "2013-10-08T22:37:43.000+0000" }, { "id": "274291", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] that's fine--do we have a reference doc on it?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T22:44:24.000+0000", "updated": "2013-10-08T22:44:34.000+0000" }, { "id": "274296", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~ingo] No idea. [~bhatfield]?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-08T22:50:06.000+0000", "updated": "2013-10-08T22:50:06.000+0000" }, { "id": "296816", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We don't have enough bandwidth in 3.2.3, so saving this for 3.3.0.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-12T17:34:57.000+0000", "updated": "2014-03-12T17:34:57.000+0000" }, { "id": "301959", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Suggestion is to not change the version in the .plist file.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T21:31:54.000+0000", "updated": "2014-04-21T21:31:54.000+0000" }, { "id": "305311", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5691", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-16T17:45:51.000+0000", "updated": "2014-05-16T17:45:51.000+0000" }, { "id": "305335", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Works as expected. With app version set to four-part number, CFBundleVersion retains all four parts, CFBundleShortVersionString has just the first three.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-16T19:24:46.000+0000", "updated": "2014-05-16T19:24:46.000+0000" }, { "id": "305347", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on: \r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405121247\r\nTitanium SDK, build: 3.3.0.v20140516120912\r\nTitanium CLI, build: 3.3.0-dev \r\nAlloy: 1.4.0-alpha\r\n\r\nChanged the version value in tiapp.xml to 1.0.7.8\r\ninfo.plist displays:\r\n{code}\r\nCFBundleVersion\r\n 1.0.7.8\r\nCFBundleShortVersionString\r\n 1.0.7\r\n{code}\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T20:07:11.000+0000", "updated": "2014-05-16T20:07:11.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }