{ "id": "100281", "key": "TIMOB-10733", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14126", "description": "Sprint 2012-19 Core", "name": "Sprint 2012-19 Core", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-21T13:24:11.000+0000", "created": "2012-08-31T10:41:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli-review", "core", "regression" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20490", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "63631", "key": "TIMOB-2999", "fields": { "summary": "iOS: XCode Project Settings and Base SDK", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-12T00:28:46.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": "Description:\r\nWhile testing the new feature that allows setting the minimum SDK, we tested the feature on device and simulator using Studio. A community comment in the bug during testing indicated that the appropriate setting in Xcode was not being made. We confirmed this. We were however able to verify that the setting was in fact being made in the produced ipa, either packaged or \"run on device\". We attempted to export the project via \"transport.py\" and es expected, the project could be run using xcode on simulators running older versions of the SDK (outside the minimum support iOS SDK)\r\n\r\nThis is a new feature which broke transport, so technically a regression.\r\n\r\nSteps to reproduce:\r\n1) Create a new studio project using 2.1.2GA\r\n2) Set the tiapp.xml to a minimum SDK of 5.1:\r\n{code}\r\n\r\n 5.1\r\n\r\n{code}\r\n3) Run transport.py on the root project folder\r\n4) Launch project (in build folder) in Xcode\r\n5) Examine \"Deployment Target\"in Xcode (see attached image)\r\n6) To verify, launch in <=5.0 device or simulator\r\n\r\nResult:\r\nDeployment target set to \"4.0\", project will run on all supported iOS versions.\r\n\r\nExxpected Result:\r\nDeployment target set to same value as tiapp.xml setting, project will run only on minimum or greater iOS versions", "attachment": [ { "id": "30929", "filename": "Screen Shot 2012-08-31 at 10.35.11 AM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-31T10:41:45.000+0000", "size": 51604, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: transport.py/Xcode project settings - Minimum iOS SDK set in tiapp.xml is not reflected in the Xcode project deployment target, allowing transport.py or xcode run on non-intended iOS versions", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.8.1\r\nSDK 2.1.2GA (Staged)\r\nTitanium Studio, build: 2.1.2.201208301612", "comment": { "comments": [ { "id": "219133", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR submitted https://github.com/appcelerator/titanium_mobile/pull/2972", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T18:34:30.000+0000", "updated": "2012-09-14T18:34:30.000+0000" }, { "id": "220177", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-21T13:24:11.000+0000", "updated": "2012-09-21T13:24:11.000+0000" }, { "id": "230971", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified deployment target matches min-sdk-ver from Tiapp.xml. Verified with:\nSDK: 3.0.0.v20121210171701\nTitanium Studio, build: 3.0.0.201212061921\nMac OS X 10.8.2\nXcode 4.5.2\nCLI: 3.0.21\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-12T00:28:38.000+0000", "updated": "2012-12-12T00:28:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }