$ 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
sudo xcode-select --switch /Applications/Xcode.app
如果CLI检测到它但在工作室中未显示,请打开工作室首选项。
工作室 -> 平台 -> iOS -> 点击“刷新”
XCode > 首选项 > 位置 > 命令行工具
=> 选择所需的Xcode版本。关闭工作室并安装Node https://nodejs.org/en/download/。重新打开工作室,尝试进入 Studio -> 平台 -> iOS -> 点击“刷新”