Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Component/s: Appcelerator CLI, Studio
    • Labels:
    • Environment:

      Appcelerator Studio, build: 4.1.1.201507141126
      Mac OS X: 10.10.5
      Node.JS: 0.12.7
      Xcode: 6.4

      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

      This is the result of "appc ti info -t ios" in terminal:

      Appcelerator Command-Line Interface, version 4.1.2
      Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
      Xcode
        6.4 (build 6D1002) - Xcode default
          Install Location          = /Applications/Xcode.app/Contents/Developer
          iOS SDKs                  = 8.4
          iOS Simulators            = 8.4, 7.1
          Watch SDKs                = 1.0
          Watch Simulators          = 1.0
          Supported by TiSDK 4.2.0.v20150816064431 = yes
      ..
      ..
      ..
      No issues detected! Your development environment should be working perfectly!
      
      

      Also 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.

      Please, refer to these links too:
      https://github.com/appcelerator/titanium_studio/blob/master/plugins/com.appcelerator.titanium.ios.ui/src/com/appcelerator/titanium/ios/internal/ui/preferences/IOSSDKPreferencePage.java#L801

      https://community.appcelerator.com/topic/3105/ios-sdk-home-not-specified

      Error log:
      !ENTRY org.eclipse.ui 4 0 2015-08-28 23:36:08.683
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONArray
      at com.appcelerator.titanium.ios.core.IOSSDKLocator.loadSimulators(IOSSDKLocator.java:272)
      at com.appcelerator.titanium.ios.core.IOSSDKLocator.parseTiInfo(IOSSDKLocator.java:191)
      at com.appcelerator.titanium.ios.core.IOSSDKLocator.updateTiInfo(IOSSDKLocator.java:145)
      at com.appcelerator.titanium.ios.core.IOSSDKLocator.refreshDevices(IOSSDKLocator.java:720)
      at com.appcelerator.titanium.ios.internal.ui.preferences.IOSSDKPreferencePage$2.widgetSelected(IOSSDKPreferencePage.java:203)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      at org.eclipse.jface.window.Window.open(Window.java:808)
      at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)
      at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:59)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
      at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.runCommand(CocoaUIHandler.java:715)
      at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.access$6(CocoaUIHandler.java:703)
      at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler$8.widgetSelected(CocoaUIHandler.java:568)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

        Attachments

          Activity

            People

            • Assignee:
              mrahman Mostafizur Rahman
              Reporter:
              asaid Ahmed Said
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code