4

I have been working on cross platform mobile app. I have develop the app its working on windows with android. Now I want to test it on iPhone. I have install the mac os x yosemite on virtual box. I have install the xcode 6.4 and also have create test app, its working. I have installed the Appcelerator Studio but it don't run the code in iPhone simulator. It says no required sdk installed. I have also try the xcode-select command. Here are xcode and Appcelerator Studio screenshot from my vm.

Appcelerator Studio ios sdk not found issue

Appcelerator Studio

Xcode 6.4

Max
  • 5,733
  • 4
  • 30
  • 44

3 Answers3

3

To identify the problem,

1.Check whether the Xcode is installed in the system?

2.Is Xcode identified by Appcelerator CLI. Run the following command to see whether it's detected?

$ appc ti info -t ios
Appcelerator Command-Line Interface, version 5.4.0
Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.

Xcode
  7.1 (build 7B60) - Xcode default
    Install Location          = /Applications/Xcode-beta.app/Contents/Developer
    iOS SDKs                  = 9.1
    iOS Simulators            = 9.1, 8.4
    Watch SDKs                = 2.0
    Watch Simulators          = 2.0
    Supported by TiSDK 5.2.0.v20151009204435 = yes
    Teams                     = none
  1. If it's not shown, Run sudo xcode-select --switch /Applications/Xcode.app
  2. Still not listed, make sure you have right version version of node,appc CLI and SDK.
  3. If it's detected by CLI but not in the studio, open studio preferences.

    Studio -> Platforms -> iOS -> Click on 'Refresh'

Kondal Kolipaka
  • 3,471
  • 22
  • 28
1

Can you try: XCode > Preferences > Locations > Command Line Tools => Select desired version of Xcode.

Nilay Dagdemir
  • 236
  • 2
  • 15
0

Close studio and Install node https://nodejs.org/en/download/. Reopen studio and try Studio -> Platforms -> iOS -> Click on 'Refresh'

pritam001
  • 1,667
  • 1
  • 16
  • 23