{ "id": "139858", "key": "AC-993", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-09-29T00:57:21.000+0000", "created": "2014-11-17T10:16:13.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:19.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "I am able to build the code using titanium command. when we build the code using xocode5 by selecting profile and certificate from build settings then only below error comes.\r\n\r\n[ERROR] : ?? ?Invalid \"--developer-name\" value \"iPhone Distribution: XXXX\" [ERROR] : ?? ?Invalid \"--pp-uuid\" value \"FD4487D7-99D0-42F5-B9E2-471E17F964E4\" For help, run: titanium help build Command /bin/sh failed with exit code *1*\r\n\r\nNOTE: If i don't select any profile and certificate then above error will not come. In my case i have the change the profile and certificate.\r\n\r\nsteps to reproduce:\r\n\r\nmake sure that install the titanium using command line and steps given below\r\n\r\nMake the /usr/local directory writable by all:\r\nsudo chmod 777 /usr/local\r\nSet npm to install to your home directory, or another directory of your choosing by setting the npm prefix. For example, you can add the following to your .bash_profile or other initialization file:\r\nexport NPM_CONFIG_PREFIX=$HOME\r\nsudo npm install titanium -g\r\ntitanium login\r\ntitanium sdk install 3.3.0.GA\r\ntitanium sdk select 3.3.0.GA\r\n\r\nClean and build your project using below commands.\r\n\r\ntitanium clean --platform ios --project-dir /Users/xyz/abc --log-level info\r\ntitanium build --platform ios --build-only --project-dir /Users/xyz/abc\r\n\r\nXcode project will generate Automatically, open that xcode project, go to build setting update the Provisioning profile and code signing identity.\r\nSelect iOS device\r\nProduct-->Archive\r\nIt failed with above error.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Xcode build fails when we select profile and certificate in titanium", "creator": { "name": "venkatesh.guttal@accenture.com", "key": "venkatesh.guttal@accenture.com", "displayName": "venkatesh guttal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "venkatesh.guttal@accenture.com", "key": "venkatesh.guttal@accenture.com", "displayName": "venkatesh guttal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI version: 3.4.0\r\nSDK Used: 3.3.0.GA\r\nNode.js Version : 0.10.10\r\nnpm Version : 1.2.25\r\nXcode : 5.1.1\r\nOS: 10.8.5", "comment": { "comments": [ { "id": "332649", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "HI,\r\n\r\nBased on your error info. The problem seems come from Xcode, not Titanium. Either your updated certificate and profile has problem or Xcode can't handle this change. Can you please try to update certificate and profile in Titanium before build on command line. Also, If prossible, you could update Xcode to 6.1 see if there is still problem.\r\n\r\nRegards,\r\nShuo ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-11-18T01:48:36.000+0000", "updated": "2014-11-18T01:48:36.000+0000" }, { "id": "332675", "author": { "name": "venkatesh.guttal@accenture.com", "key": "venkatesh.guttal@accenture.com", "displayName": "venkatesh guttal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nThis profile and certificate will work for other projects and i have tested.Even it will work for Xcode5.1 also.\r\nwhen we build the code using titanium command, Xcodeproj will generate automatically during the build process.\r\nOpen generated Xcodeproject in Xcode5.1, Move to build settings, update the profile and code signing identity,\r\nselect iOS, Product-->Archive then the above problem comes. Let me try with Titanium..\r\n\r\nMy Observation: This problem comes when we open Generated Xcodeproj by titanium build command then try to update the profile and code signing identity.", "updateAuthor": { "name": "venkatesh.guttal@accenture.com", "key": "venkatesh.guttal@accenture.com", "displayName": "venkatesh guttal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-18T09:21:12.000+0000", "updated": "2014-11-18T09:21:12.000+0000" }, { "id": "361898", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Use Appcelerator studio as Titanium is obsolete. Follow the instruction [here|https://web.appcelerator.com/product/studio] to download the latest Appcelerator studio. Also, follow the instruction [here|https://web.appcelerator.com/product/cli] to install CLI, SDK. Hope this helps. Thanks.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-01T07:04:23.000+0000", "updated": "2015-09-29T00:57:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }