{ "id": "85350", "key": "AC-2998", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-01-24T08:53:13.000+0000", "created": "2012-01-24T08:36:32.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:01.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "This problem has been around for a long time. Here's the scenario:\r\n\r\nYou have a project named \"MyProject\"\r\nIn tiapp.xml, you have \"My Project\"\r\nDo a debug/run build of the app in the Simulator\r\nDo a Distribut build, and you get this error:\r\n\r\n{code}\r\n[INFO] Performing clean build\r\n[ERROR] xcodebuild: error: The directory /path/to/project/MyProject/build/iphone contains 2 projects, including multiple projects with the current extension (.xcodeproj). Specify the project to use with the -project option.\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py\", line 1482, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py\", line 1180, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 78\r\n{code}\r\n\r\nIn the build/iPhone directory, there are two xcodeproj files (and similarly named supporting files):\r\n\r\nMyProject.xcodeproj\r\nMy Project.xcodeproj\r\n\r\n\r\nWorkaround: Do a Project > Clean every time you want to switch between debug/run and Distribute builds. Very annoying.", "attachment": [], "flagged": false, "summary": "iOS: Tooling: Distribute builds and debug/run builds do not use the same source for name", "creator": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "environment": "OS X 10.7.2\r\nTi Studio 1.0.8\r\nTi SDK 1.8.1", "comment": { "comments": [ { "id": "180403", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-6583", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-24T08:53:13.000+0000", "updated": "2012-01-24T08:53:13.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }