Project: titanium
Issue TIMOB-19344: Cannot build a Titanium app if the project is named "iphone"
*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 {{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: {code} 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. (/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) {code} *Expected:* Should be able to build a Titanium project if it's named iphone.
Story points: 2