{ "id": "123502", "key": "TIMOB-15935", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-10T01:23:10.000+0000", "created": "2013-12-09T22:33:34.000+0000", "priority": null, "labels": [ "defect", "ios", "module_xcodebuild", "qe-closed-3.2.0", "qe-manualtest", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-08T16:50:39.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": "The compilation process for mobile device is broken when done over Xcode, see the attachment (Text 2013.12.09 23-24-34.txt) for the error log.\r\n\r\nThe issue isn't in _build.js.\r\n\r\n1. _build.js:1353 references this.certDeveloperName\r\n2. certDeveloperName is defined at _build.js:1299 as argv['developer-name'].\r\n3. _build.js is called by titanium-cli.\r\n4. Titanium is called by the pre-compile script (see Text 2013.12.09 23-28-13.txt) which is stored at ~ > Library > Developer > Xcode > DerivedData > project path > Build > Intermediates > .build > .iphoneos > .build > Script-.sh.\r\n\r\nSince as outlined in 2) argv -> developer-name is specified, the issue must be in the invocation script of titanium's pre-build phase. Simulator builds compile as expected.", "attachment": [ { "id": "44504", "filename": "Text 2013.12.09 23-24-34.txt", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-09T22:33:34.000+0000", "size": 2622, "mimeType": "text/plain" }, { "id": "44505", "filename": "Text 2013.12.09 23-28-13.txt", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-09T22:33:34.000+0000", "size": 294, "mimeType": "text/plain" } ], "flagged": false, "summary": "Titanium Mobile doesn't compile for device in over Xcode", "creator": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "environment": "OSX 10.9.1 ; Node 0.10.23 ; titanium 3.2.0-beta ; alloy 1.3.0-cr ; Xcode 5.1 (5B45j)", "comment": { "comments": [ { "id": "283317", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe this might be a duplicate of TC-2572, which is marked as needing more info.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-09T23:09:41.000+0000", "updated": "2013-12-09T23:09:41.000+0000" }, { "id": "283322", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "The issue you are referencing includes 1) invoking titanium-cli manually, which is working fine for me and 2) it specifies \"[INFO] : Building for target: simulator\" which isn't the case here. I try to compile to device from Xcode itself, whereas it doesn't fail from Titanium Studio (using a valid run configuration). This is a regression since I was able to use Xcode on the generated xcodeproject before.", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-09T23:15:29.000+0000", "updated": "2013-12-09T23:15:29.000+0000" }, { "id": "283325", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "True, but both seems to have a similar error of \"TypeError: Cannot read property 'cyan' of undefined\" which is why I noted the similarity. That might be a red herring.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-09T23:18:09.000+0000", "updated": "2013-12-09T23:18:09.000+0000" }, { "id": "283327", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "\"Cyan\" is just a getter in the prototype of the strings indicating that the value should be returned in the color cyan. That is, if a value is undefined its prototype can't be called (because it doesn't instantiate String if it's not defined at all) — thus will yield `Cannot read property 'cyan' of undefined` in any case the string isn't set at all.\r\n\r\nEdit: the issue you referred to indicates that the issue happens to be in \"node-appc/lib/timodule.js\". That is — just as said before — it's trying to get the cyan-colored version of something that isn't defined. This doesn't correlate to any functional issue.", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-09T23:21:10.000+0000", "updated": "2013-12-09T23:23:26.000+0000" }, { "id": "283364", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/82\nTitanium CLI 3.2.x pull request: https://github.com/appcelerator/titanium/pull/83\n\nTo test:\n1) create an ios project\n2) do a device build\n3) open the generated xcode project in xcode\n4) run the app for device", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T00:49:49.000+0000", "updated": "2013-12-10T00:49:49.000+0000" }, { "id": "283370", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "Checkout http://f.cl.ly/items/2i0a252U37131S130P1O/Bildschirmfoto%202013-12-10%20um%2002.05.03.png — still fails to build; though it doesn't throw an issue anymore.", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T01:07:25.000+0000", "updated": "2013-12-10T01:07:25.000+0000" }, { "id": "283375", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~kenansulayman] You need to go to the project's \"Build Settings\" and explicitly select a \"Code Signing Identity\" and \"Provisioning Profile\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T01:24:28.000+0000", "updated": "2013-12-10T01:24:28.000+0000" }, { "id": "283378", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "This wasn't necessary before. I'm considering this a regression since the requirement to change values manually (from now on) seems like a workaround", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T01:26:27.000+0000", "updated": "2013-12-10T01:26:27.000+0000" }, { "id": "283379", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "Err — http://data.sly.mn/SslQ/Bildschirmfoto%202013-12-10%20um%2002.27.49.png", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T01:27:23.000+0000", "updated": "2013-12-10T01:29:00.000+0000" }, { "id": "283381", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~kenansulayman] This will be better handled when I add support for exporting built Titanium apps to be standalone (TIMOB-9037).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T01:30:44.000+0000", "updated": "2013-12-10T01:30:44.000+0000" }, { "id": "283382", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kenansulayman] How are you testing those changes? It appears you have a SDK from 2013-12-06. Are you doing git pulls for the CLI?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T01:34:47.000+0000", "updated": "2013-12-10T01:36:05.000+0000" }, { "id": "283383", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~kenansulayman] You have just encountered TIMOB-15934. We have it fixed and it's merged. Wait 24 minutes, then run \"ti sdk install -b 3_2_X -d\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T01:35:45.000+0000", "updated": "2013-12-10T01:35:45.000+0000" }, { "id": "283384", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ingo: yes. I cherry-picked the change :) Chris: thanks! Let's see", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T01:40:08.000+0000", "updated": "2013-12-10T01:40:08.000+0000" }, { "id": "283388", "author": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "body": "The newly installed SDK doesn't contain your commit yet, but applying your patch manually fixes it. Thanks!", "updateAuthor": { "name": "kenansulayman", "key": "kenansulayman", "displayName": "Kenan Sulayman", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T02:11:45.000+0000", "updated": "2013-12-10T02:11:45.000+0000" }, { "id": "283692", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201312091613\nTitanium SDK, build: 3.2.0.v20131210112451\nCLI: 3.2.0-cr\nAlloy: 1.3.0-cr\niOS Device: iPhone 5C (7.0.4)\n\niOS project successfully built and install to device through studio.\nGenerated XCode project also builds to device successfully.\nClosing", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T00:09:57.000+0000", "updated": "2013-12-11T00:09:57.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }