{ "id": "150345", "key": "TIMOB-19344", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-12T20:30:10.000+0000", "created": "2015-08-12T18:54:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-08-12T22:05:23.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": "*Details:* Cannot build a Titanium app if the project is named \"iphone\".\r\n\r\n*Note:* This is a *regression* from SDK 4.1.0.GA and 4.1.1.v20150807121809\r\n\r\n*Steps to reproduce:*\r\n# Create a Titanium project with {{appc new}}\r\n# Make sure to specify the project name as {{iphone}}\r\n# After project is created, run {{appc run -p ios -T simulator -l trace}}\r\n\r\n*Actual:* The following error will appear:\r\n{code}\r\nCommand\r\n /usr/local/bin/node /Users/wluu/.appcelerator/install/4.2.0-42/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build -p ios -T simulator -l trace --plugin-paths /Users/wluu/.appcelerator/install/4.2.0-42/package/node_modules --config-file /var/folders/g9/bw6h6yr11t79h_mw4q1r87pm0000gp/T/build-1439405214762.json --no-banner\r\n\r\n[ERROR] Found blacklisted directory in the Resources directory\r\n[ERROR] The directory \"iphone\" is a reserved directory.\r\n[ERROR] You must rename this directory to something else.\r\n\r\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/wluu/.appcelerator/install/4.2.0-42/package/node_modules/appc-cli-titanium/plugins/run.js:89:66)\r\n at ChildProcess.emit (events.js:117:20)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n{code}\r\n\r\n*Expected:* Should be able to build a Titanium project if it's named iphone.", "attachment": [], "flagged": false, "summary": "Cannot build a Titanium app if the project is named \"iphone\"", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.1.0-2\r\nAppc CLI Core: 4.2.0-42\r\nArrow: 1.2.25\r\nSDK: 4.2.0.v20150812095126\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\nXcode: 6.4", "closedSprints": [ { "id": 465, "state": "closed", "name": "2015 Sprint 16 Tooling", "startDate": "2015-08-03T16:11:05.714Z", "endDate": "2015-08-15T01:11:00.000Z", "completeDate": "2015-08-18T00:59:18.251Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "359721", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7021/files", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-12T20:29:49.000+0000", "updated": "2015-08-12T20:29:49.000+0000" }, { "id": "359734", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that you can build and launch a Titanium app if the project is named \"iphone.\"\r\n\r\nTested on:\r\n\r\nAppc CLI NPM: 4.1.0-2\r\nAppc CLI Core: 4.2.0-44\r\nSDK: 4.2.0.v20150812133622\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\nXcode: 6.4", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-12T22:05:18.000+0000", "updated": "2015-08-12T22:05:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }