【发布时间】:2018-04-02 09:57:31
【问题描述】:
我使用 Xcode 版本 9.0.1 (9A1004) 在 High Sierra。
运行 tns doctor 时,我收到以下警告:
WARNING: Xcode is not installed or is not configured properly.
You will not be able to build your projects for iOS or run them in the iOS Simulator.
To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode.
如果我运行安装脚本,我还会得到:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Xcode is not installed or not configured properly. Download, install, set it up and run this script again.
您可能已经猜到了,我从应用商店安装了 Xcode,还安装了 cocoapods 和 xcodeproj。这是我得到的唯一警告。
有什么建议吗?
【问题讨论】:
标签: xcode nativescript macos-high-sierra