{ "id": "151878", "key": "AC-451", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-07T17:43:55.000+0000", "created": "2015-10-09T06:20:59.000+0000", "labels": [ "defect", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-07T17:43:55.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": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "I have recently upgraded to Xcode7 for the ios 9 support and after that I was trying to run my old app which I have created in Appcelerator SDK 4.1.2\r\nPost discussion with one of the APPC team member I got to know that we should use SDK 5.0 for XCODE 7. But that still did not work.\r\n\r\nThen I thought to try creating a TItanium app using command line \r\n\r\n{code:java}\r\nti create -p ios -n sampleTitanium\r\n{code}\r\n\r\nAfter running this command I got following options and I selected option# 1\r\n{code:java}\r\nWhat type of project would you like to create?\r\n 1) Titanium App\r\n 2) Titanium Module\r\n 3) Apple Watch™ App\r\nSelect a type by number or name [app]: 1\r\n{code}\r\n\r\nAfter hitting ENTER I get this error and which is weird\r\n{code}\r\n[INFO] Creating app project\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:195\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'toLowerCase' of undefined\r\n at exports.scrubPlatforms (/Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/titanium-sdk/lib/titanium.js:671:11)\r\n at AppCreator.run (/Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/cli/lib/creators/app.js:94:18)\r\n at CreateCommand. (/Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/cli/commands/create.js:166:12)\r\n at /Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:265:13)\r\n at process._tickCallback (node.js:355:11)\r\n---------------------------------------------\r\n at /Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/kiproshmbpro/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/async/lib/async.js:173:37\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25\r\n at AppCreator. (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16)\r\n at CLI._fireHookCallback (/usr/local/lib/node_modules/titanium/lib/hook.js:269:12)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:248:10\r\n{code}", "attachment": [ { "id": "56947", "filename": "Screen Shot 2015-10-09 at 11.46.47.png", "author": { "name": "shivanibhanwal", "key": "shivanibhanwal", "displayName": "Shivani Thakur", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-09T06:20:42.000+0000", "size": 218133, "mimeType": "image/png" } ], "flagged": false, "summary": "Creation of new APPC app is not working on XCODE 7.0 and APPC SDK 5.0.2GA ", "creator": { "name": "shivanibhanwal", "key": "shivanibhanwal", "displayName": "Shivani Thakur", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shivanibhanwal", "key": "shivanibhanwal", "displayName": "Shivani Thakur", "active": true, "timeZone": "America/Los_Angeles" }, "comment": { "comments": [ { "id": "366454", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi [~shivanibhanwal],\r\nMake sure you have latest release version of CLI with \"sudo npm install -g titanium” then “appc use latest\"\r\n\r\nOnce that step is done, check your CLI configuration with either \"ti sdk\" or \"appc ti sdk\" from the terminal. You are looking for what SDK is [selected]\r\n\r\nMake sure you have something selected. Preferably the same SDK you have set to build your project with.\r\nYou can set the SDK with \"appc ti sdk select\" and choose from the list. Let me know if this works for you.", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-10-11T09:06:15.000+0000", "updated": "2015-10-11T09:06:15.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }