{ "id": "170634", "key": "AC-5458", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2017-12-19T18:24:40.000+0000", "created": "2017-12-15T17:15:28.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-20T19:55:18.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "After I upgraded to the latest version 5.0, it can't recognize the iOS SDK, Android SDK is fine.\r\nI had to rollback to studio 4.1.\r\nBTW, the \"Affectes Version\" still doesn't have 5.0 as an option to pick", "attachment": [ { "id": "63821", "filename": "error1.png", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-15T17:13:07.000+0000", "size": 122309, "mimeType": "image/png" }, { "id": "63824", "filename": "error2.png", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-17T17:09:24.000+0000", "size": 375554, "mimeType": "image/png" }, { "id": "63825", "filename": "studio5.log", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-17T17:17:12.000+0000", "size": 1580802, "mimeType": "text/plain" } ], "flagged": false, "summary": "new 5.0 studio can't recognize the iOS SDK", "creator": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "environment": "OS: Mac ,12.13.2 \r\nAppcelerator 5.0\r\nXcode 9.2\r\nNode 8.9.3\r\nAppcelerator Studio 5.0\r\n", "comment": { "comments": [ { "id": "432238", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Do you have multiple xcode installed on your system? Can you click the refresh button in the studio preference? You can try to run this command in CLI \"sudo xcode-select -switch \" provide the xcode folder path which usually /Applications/Xcode.app/Contents/. Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-15T21:36:26.000+0000", "updated": "2017-12-15T21:36:26.000+0000" }, { "id": "432243", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "I only have one xcode installed. Yes I tried to run the command before I submitted the ticket. There's nothing wrong with my xcode, I can use studio 4.1 just fine. I can use atom with appcelerator plugin just fine. \nYes. I tried the refresh button, it didn't do anything. \nIf I click the configure, it opens my Mac app store. \n\n", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-15T23:27:45.000+0000", "updated": "2017-12-15T23:27:45.000+0000" }, { "id": "432253", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~jason919],\r\nThanks for your feedback. Are you using latest CLI and SDK? You can try to run this command in CLI \"*sudo xcode-select -switch *\" provide the xcode folder path which usually /Applications/Xcode.app/Contents/. Restart the studio for your changes to take effect. and open studio again. Let us know. Thanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-12-17T05:09:48.000+0000", "updated": "2017-12-17T05:09:48.000+0000" }, { "id": "432259", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "Before I submitted first ticket, I have already tried the command. Same result, it can't identify iOS.\r\n\r\n$ sudo xcode-select -switch /Applications/Xcode.app/Contents/\r\nPassword:\r\nxcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/'\r\n$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/\r\n$ appc setup\r\nFinding latest version ...7.0.0 ✓\r\nVersion 7.0.0 already installed.\r\n? Do you plan on developing Titanium apps? Yes\r\n\r\nChecking your environment...\r\n\r\nYou have the latest Titanium SDK release 7.0.0.GA\r\nCongrats! No issues detected for developing cross-platform mobile apps!\r\n\r\nappc setup complete!\r\n$ node --version\r\nv8.9.3\r\n$ appc --version\r\n7.0.0", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-17T17:08:31.000+0000", "updated": "2017-12-17T17:08:31.000+0000" }, { "id": "432260", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "I tried the 5.0 GA build and nightly build, same result, can't identify iOS SDK.\r\nbut my appcelerator atom plugin works fine and studio 4.1 works fine.", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-17T17:10:32.000+0000", "updated": "2017-12-17T17:10:32.000+0000" }, { "id": "432261", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "I uploaded the studio's log file \r\nhere is the exception in the log\r\n\r\n!ENTRY org.eclipse.core.jobs 4 2 2017-12-17 11:06:04.275\r\n!MESSAGE An internal error occurred during: \"Update iOS info\".\r\n!STACK 0\r\njava.lang.NullPointerException\r\n\tat com.appcelerator.titanium.ios.core.daemon.DaemonIOSSDKLocator.parseTiInfo(DaemonIOSSDKLocator.java:188)\r\n\tat com.appcelerator.titanium.ios.core.daemon.DaemonIOSSDKLocator.updateTiInfo(DaemonIOSSDKLocator.java:156)\r\n\tat com.appcelerator.titanium.ios.core.daemon.DaemonIOSSDKLocator.access$1(DaemonIOSSDKLocator.java:153)\r\n\tat com.appcelerator.titanium.ios.core.daemon.DaemonIOSSDKLocator$1.run(DaemonIOSSDKLocator.java:167)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\n", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-17T17:19:23.000+0000", "updated": "2017-12-17T17:19:23.000+0000" }, { "id": "432266", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "BTW, why can't I even choose 5.0 as the subject ", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-18T01:29:23.000+0000", "updated": "2017-12-18T01:29:23.000+0000" }, { "id": "432269", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~jason919],\r\nThanks for your feedback. Run the following commands and let us know how it goes.\r\n\r\n* Close Appcelerator Studio\r\n* Open the terminal\r\n* Stop the daemon: *appc appcd stop*\r\n* cd into the appcelerator package: *cd ~/.appcelerator/install/7.0.0/package*\r\n* Install the update: *npm install ioslib@next*\r\n* Reopen Studio\r\n\r\nHope this helps.\r\n\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-12-18T05:42:07.000+0000", "updated": "2017-12-18T05:42:07.000+0000" }, { "id": "432297", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "it is working now.\r\nwhat does \"npm install ioslib@next\" do? ", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-18T16:54:43.000+0000", "updated": "2017-12-18T16:54:43.000+0000" }, { "id": "432313", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Is the issue fixed for you?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-18T21:18:38.000+0000", "updated": "2017-12-18T21:18:38.000+0000" }, { "id": "432317", "author": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "body": "yes, it is fixed with those commands.\r\ncan you please help me understand what went wrong initially ?", "updateAuthor": { "name": "jason919", "key": "jason919", "displayName": "jason hu", "active": true, "timeZone": "America/Chicago" }, "created": "2017-12-18T21:26:55.000+0000", "updated": "2017-12-18T21:26:55.000+0000" }, { "id": "432453", "author": { "name": "maheshnrk", "key": "maheshnrk", "displayName": "maheshnrk", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The above solution did not work for me. I was told to revert back to SDK 6.3.0 by running the command \"appc use 6.3.0\" but I was not able to download using the command. So Instead I did below.\r\n\r\n1. Even though appc use 6.3.0 command showed download as success, but the sdk was not actually downloaded in the Titanium mobile sdk folder.\r\n2. So I compressed the sdk from another mac and then send it to the macbook that had the issue.\r\n3. Then restarted studio - then 6.3.0 sdk was listed in tiapp.xml.\r\n4. Then I ran the command in terminal appc use 6.3.0\r\n5. Restarted the studio\r\n6. Now the ios and anroid SDKs are configured.\r\n\r\nI am still in the latest studio version\r\nAxway Appcelerator Studio, build: 5.0.0.201712081732", "updateAuthor": { "name": "maheshnrk", "key": "maheshnrk", "displayName": "maheshnrk", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-20T19:41:33.000+0000", "updated": "2017-12-20T19:41:33.000+0000" }, { "id": "432455", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~maheshnrk]\r\n\r\nPlease try the following commands via the terminal/command prompt. \r\n\r\nappc logout -D\r\nnpm install -g appcelerator\r\nappc use latest\r\nappc config set proxyServer null\r\nappc setup\r\nappc login\r\nOpen the terminal\r\nStop the daemon: appc appcd stop\r\ncd into the appcelerator package: cd ~/.appcelerator/install/7.0.0/package\r\nInstall the update: npm install ioslib@next\r\nOpen Studio\r\n\r\nHope this helps.\r\n\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-12-20T19:55:18.000+0000", "updated": "2017-12-20T19:55:18.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }