{ "id": "87342", "key": "TIMOB-7878", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "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": "2012-03-19T13:10:19.000+0000", "created": "2012-03-05T11:09:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-xcode43" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "15791", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "87823", "key": "TIMOB-7972", "fields": { "summary": "iOS: Xcode 4.3 - xcode_organizer.scpt launches Xcode 4.2 in a dual Xcode environment (4.3.1 over 4.2) with xcode-select path empty", "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 } } } }, { "id": "15792", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87827", "key": "TIMOB-7974", "fields": { "summary": "iOS: Xcode 4.3 - No icons appear in Xcode organizer for packaged Titanium 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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-13T14:11:19.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 Xcode 4.3 integration with our tools I used a clean system to install Xcode 4.3 then Studio and 1.8.2 SDK. I was unable to use the Xcode install until I used Xcode-select and set the path to /Applications/Xcode.app/Contents/Developer.\r\n\r\nSteps to reproduce:\r\n1) On a clean Mac OS X image, install Xcode 4.3 from the Mac App store\r\n2) Install Studio 1.0.9\r\n3) Allow Studio to install 1.8.2 GA SDK\r\n4) Check Dashboard configuration or try to build a project\r\n\r\nResult:\r\nYou will be unable to make use of Xcode\r\n\r\nExpected:\r\nXcode available and projects can be created and run\r\n", "attachment": [], "flagged": false, "summary": "iOS: Xcode 4.3 - Xcode-select must be run on clean install of Xcode 4.3 in order to use Titanium", "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 X (10.7.3)\r\nSDK 1.8.2 GA\r\nXcode 4.3", "comment": { "comments": [ { "id": "185464", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note to self: The following require xcode-select and thus need to be updated:\r\n{quote}\r\nmodule/iphone/xcode/install.py needs to not install into /Developer\r\n\txcodedir = os.path.join(\"/Developer\",\"Platforms\",\"iPhoneOS.platform\",\"Developer\",\"Library\",\"Xcode\")\r\n\tInstalls to wrong location. Worse yet, is this even allowed, or will it break codesigning?\r\n\r\nmodule/iphone/templates/build.py uses xcodebuild\r\n\trc = os.system(\"xcodebuild -sdk iphoneos -configuration Release\")\r\n\trc = os.system(\"xcodebuild -sdk iphonesimulator -configuration Release\")\r\n\r\niphone/builder.py needs to not use /Developer for packaging; uses XCodeSelect; uses xcodebuild.\r\n\toutput = run.run([\"xcodebuild\",\"-showsdks\"],True,False)\r\n\toutput = run.run(['xcodebuild','-version'],True,False)\r\n\txcode_path=run.run([\"/usr/bin/xcode-select\",\"-print-path\"],True,False)\r\n\targs = [\"xcodebuild\",\"-target\",config,\"-configuration\",target,\"-sdk\",sdk]\t\r\n\texecute_xcode(\"iphonesimulator%s\" % link_version,[\"GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s\" % (log_id,sdk_version,debugstr,kroll_coverage)],False)\r\n\txcodeselectpath = os.popen(\"/usr/bin/xcode-select -print-path\").readline().rstrip('\\n')\r\n\txc_path = os.path.join(run.run(['xcode-select','-print-path'],True,False).rstrip(),'Applications','Xcode.app')\r\n\r\niphone/compiler.py Uses xcode select.\r\n\tpath = run.run([\"/usr/bin/xcode-select\",\"-print-path\"],True,False)\r\n\r\niphone/logger.py\r\n\txoutput = run.run([\"xcodebuild\",\"-version\"]) -- This is redundant with dropping 3.x\r\n\tLogger.py needs updating to 5.1.x, drop support for 3.x\r\n\r\niphone/prereq.py\r\n\toutput = run.run([\"xcodebuild\",\"-showsdks\"],True,False)\r\n{quote}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-07T17:14:30.000+0000", "updated": "2012-03-07T17:14:30.000+0000" }, { "id": "185918", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code}\r\nTo see if xcode-select is working fine:\r\n$ xcode-select -print-path\r\n/Developer\r\n\r\nTo reproduce without Xcode 4.3:\r\n$ cd /usr/share/xcode-select/\r\n$ ls\r\nxcode_dir_path\r\n$ cat xcode_dir_path \r\n/Developer\r\n$ sudo rm xcode_dir_path \r\n$ xcode-select -print-path\r\nxcode-select: Error: No Xcode folder is set. Run xcode-select -switch to set the path to the Xcode folder.\r\n$ cat xcode_dir_path \r\ncat: xcode_dir_path: No such file or directory\r\n\r\nSetting the environment variable in bash:\r\n$ DEVELOPER_DIR=/Developer\r\n$ xcode-select -print-path\r\n/Developer\r\n{code}\r\n\r\nSo to test, try running the command line tools after xcode-select generates an error. This will require the latest TiStud to test building from TiStud.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-11T18:48:38.000+0000", "updated": "2012-03-11T18:48:38.000+0000" }, { "id": "187156", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed (on Xcode 4.3 only installs, Xcode select need not be set) with 2.0.0.v20120319003254 and Titanium Studio, build: 2.0.0.201203182248.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T13:05:26.000+0000", "updated": "2012-03-19T13:05:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }