{ "id": "130931", "key": "TIMOB-17034", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-30T22:53:31.000+0000", "created": "2014-05-27T22:42:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_build", "qe-closed-3.3.0", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "38658", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "131261", "key": "TIMOB-17204", "fields": { "summary": "Titanium 3.3.0.Beta generates invalid custom shell scripts", "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": "None", "id": "6" }, "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-06-24T23:13: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": "h3.Steps to Reproduce\r\n\r\n* Build an using cli\r\n* Open the app in Xcode (build/iphone/.xcodeproject)\r\n* Try building the project for device.\r\n\r\nh4.Actual Result.\r\nBuild fails with the following output\r\n{code}\r\n[INFO] : \b\b \b tiapp.xml set to 3.3.0.v20140524224144, but current Titanium SDK set to 3.3.0\r\n[INFO] : \b\b \b Forking correct SDK command: \"/usr/local/bin/node\" \"/usr/local/bin/ti\" \"build\" \"--sdk\" \"3.3.0.v20140524224144\" \"--no-prompt\" \"--no-banner\" \"--build-only\" \"--xcode\" \"--config-file\" \"/Users/sabilrahim/.titanium/config.json\" \"--platform\" \"iphone\" \"--project-dir\" \"/Users/sabilrahim/titaniumworkspace/instrumentstest\" \"--log-level\" \"trace\" \"--distribution-name\" \"iPhone Developer\" \"--ios-version\" \"7.1\" \"--target\" \"device\"\r\n[ERROR] : \b\b \bMissing required option: --developer-name \r\n\r\n[ERROR] : \b\b \bMissing required option: --pp-uuid \r\n{code}\r\n\r\nh3.Expected Result \r\nThe app builds successfully and runs on device.\r\n\r\nh3. Notes.\r\nThere seems two problems here.\r\n1. The SDK version in the pre compile command is hard coded.\r\n2. The env variable is not being passed in correctly.\r\n", "attachment": [], "flagged": false, "summary": "iOS: Cannot build for device from Xcode using the build project", "creator": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 5.1, mac 10.8.4", "closedSprints": [ { "id": 119, "state": "closed", "name": "2014 Sprint 11 Tooling", "startDate": "2014-05-27T16:30:27.477Z", "endDate": "2014-06-07T01:30:00.000Z", "completeDate": "2014-06-12T20:51:59.189Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "306707", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5737\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5738\r\n\r\nTo test, connect an iOS device, build an iOS app for device (--build-only if you want to save some time), then open the Xcode project and build for device.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-28T18:33:49.000+0000", "updated": "2014-05-28T18:33:49.000+0000" }, { "id": "306708", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Here's the related Q&A ticket: http://developer.appcelerator.com/question/161067/trying-to-archive-for-ad-hoc-but-gets-error-i-xcode---developer-name----pp-uuid", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-28T18:34:00.000+0000", "updated": "2014-05-28T18:34:00.000+0000" }, { "id": "307438", "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.201405271647\r\nTitanium SDK, build: 3.3.0.v20140603152512\r\nTitanium CLI, build: 3.3.0-beta\r\nAlloy: 1.4.0-beta\r\nXcode: 5.1.1\r\niOS Device: iPhone 5S (7.1.1)\r\n\r\nFollowed test steps provided by Chris, application built to device from Xcode successfully.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T00:24:33.000+0000", "updated": "2014-06-04T00:24:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }