{ "id": "150719", "key": "AC-322", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-05T06:20:03.000+0000", "created": "2015-08-26T10:58:08.000+0000", "labels": [ "Appcelerator", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-05T06:20:03.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" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Appcelerator Studio 4.1.12 can't get my Xcode location info. iOS SDK Home is not specified in Platform's iOS preferences. I've tried every single solution on the web, but in vain. I've tried xcode-select, updating node.js, also the \"npm install titanium -g\", reinstalling JDK, and still can't setup iOS SDK Home. Refreshing doesn't work of course\r\n\r\n\r\nThis is the result of \"appc ti info -t ios\" in terminal:\r\n{code:java}\r\nAppcelerator Command-Line Interface, version 4.1.2\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\nXcode\r\n 6.4 (build 6D1002) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 8.4\r\n iOS Simulators = 8.4, 7.1\r\n Watch SDKs = 1.0\r\n Watch Simulators = 1.0\r\n Supported by TiSDK 4.2.0.v20150816064431 = yes\r\n..\r\n..\r\n..\r\nNo issues detected! Your development environment should be working perfectly!\r\n\r\n{code}\r\n\r\nAlso I get Java runtime exceptions when opening the iOS section in Studio/Platform preferences as well as when opening TiApp.xml while getting Appcelerator Platform information.\r\n\r\nPlease, refer to these links too:\r\nhttps://github.com/appcelerator/titanium_studio/blob/master/plugins/com.appcelerator.titanium.ios.ui/src/com/appcelerator/titanium/ios/internal/ui/preferences/IOSSDKPreferencePage.java#L801\r\n\r\nhttps://community.appcelerator.com/topic/3105/ios-sdk-home-not-specified\r\n\r\nError log:\r\n!ENTRY org.eclipse.ui 4 0 2015-08-28 23:36:08.683\r\n!MESSAGE Unhandled event loop exception\r\n!STACK 0\r\njava.lang.ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONArray\r\n\tat com.appcelerator.titanium.ios.core.IOSSDKLocator.loadSimulators(IOSSDKLocator.java:272)\r\n\tat com.appcelerator.titanium.ios.core.IOSSDKLocator.parseTiInfo(IOSSDKLocator.java:191)\r\n\tat com.appcelerator.titanium.ios.core.IOSSDKLocator.updateTiInfo(IOSSDKLocator.java:145)\r\n\tat com.appcelerator.titanium.ios.core.IOSSDKLocator.refreshDevices(IOSSDKLocator.java:720)\r\n\tat com.appcelerator.titanium.ios.internal.ui.preferences.IOSSDKPreferencePage$2.widgetSelected(IOSSDKPreferencePage.java:203)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)\r\n\tat org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)\r\n\tat org.eclipse.jface.window.Window.runEventLoop(Window.java:832)\r\n\tat org.eclipse.jface.window.Window.open(Window.java:808)\r\n\tat org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)\r\n\tat org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:59)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)\r\n\tat org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)\r\n\tat org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.runCommand(CocoaUIHandler.java:715)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.access$6(CocoaUIHandler.java:703)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler$8.widgetSelected(CocoaUIHandler.java:568)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)\r\n\tat org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1465)\r\n", "attachment": [ { "id": "56529", "filename": "Screen Shot 2015-08-25 at 5.14.39 PM.png", "author": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "created": "2015-08-26T10:54:02.000+0000", "size": 343454, "mimeType": "image/png" }, { "id": "56550", "filename": "Screen Shot 2015-08-28 at 11.15.28 PM.png", "author": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "created": "2015-08-28T21:22:15.000+0000", "size": 180829, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS SDK Home Not specified!", "creator": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "subtasks": [], "reporter": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "environment": "Appcelerator Studio, build: 4.1.1.201507141126\r\nMac OS X: 10.10.5\r\nNode.JS: 0.12.7\r\nXcode: 6.4", "comment": { "comments": [ { "id": "361623", "author": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "body": "Another aspect of the issue: \r\nWhen trying to configure missing SDKs I receive this error:\r\n\r\n{code:java}\r\n\"An internal error occurred during: \"Configuring SDK\".\r\njava.lang.NullPointerException\"\r\n{code}\r\n\r\nA screenshot has been added.\r\n\r\nThe error log for this bug:\r\n\r\n\r\n!ENTRY org.eclipse.core.jobs 4 2 2015-08-28 23:16:36.686\r\n!MESSAGE An internal error occurred during: \"Configuring SDK\".\r\n!STACK 0\r\njava.lang.NullPointerException\r\n\tat com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doConfigure(IOSSDKConfigurer.java:108)\r\n\tat com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44)\r\n\tat com.appcelerator.titanium.ui.mobile.PlatformsInstallManager$3.run(PlatformsInstallManager.java:171)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\n\r\n", "updateAuthor": { "name": "asaid", "key": "asaid", "displayName": "Ahmed Said", "active": true, "timeZone": "Africa/Cairo" }, "created": "2015-08-28T21:22:24.000+0000", "updated": "2015-08-28T21:41:25.000+0000" }, { "id": "368606", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "This issue is resolved in latest studio build 4.3.0.201510212245. Thanks.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-02T09:40:50.000+0000", "updated": "2015-11-02T09:44:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }