[TIMOB-19344] Cannot build a Titanium app if the project is named "iphone"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-12T20:30:10.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | regression |
Reporter | Wilson Luu |
Assignee | Chris Barber |
Created | 2015-08-12T18:54:11.000+0000 |
Updated | 2015-08-12T22:05:23.000+0000 |
Description
*Details:* Cannot build a Titanium app if the project is named "iphone".
*Note:* This is a *regression* from SDK 4.1.0.GA and 4.1.1.v20150807121809
*Steps to reproduce:*
Create a Titanium project with
Make sure to specify the project name as
After project is created, run
*Actual:* The following error will appear:
Create a Titanium project with appc new
Make sure to specify the project name as iphone
After project is created, run appc run -p ios -T simulator -l trace
*Actual:* The following error will appear:
Command
/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
[ERROR] Found blacklisted directory in the Resources directory
[ERROR] The directory "iphone" is a reserved directory.
[ERROR] You must rename this directory to something else.
TRACE | titanium exited with exit code 1
ERROR | Error: ti run exited with error code 1
at ChildProcess.<anonymous> (/Users/wluu/.appcelerator/install/4.2.0-42/package/node_modules/appc-cli-titanium/plugins/run.js:89:66)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:820:12)
*Expected:* Should be able to build a Titanium project if it's named iphone.
PR: https://github.com/appcelerator/titanium_mobile/pull/7021/files
Closing ticket as fixed. Verified that you can build and launch a Titanium app if the project is named "iphone." Tested on: Appc CLI NPM: 4.1.0-2 Appc CLI Core: 4.2.0-44 SDK: 4.2.0.v20150812133622 Node: v0.10.38 OS: Yosemite (10.10.4) Xcode: 6.4