0
在尝试使用IDE德科,因为我收到以下错误第一次(A为React.js IDE):没有可用的模拟器。请安装Xcode和在iOS模拟器来预览项目
'No simulators available.', 'Please install Xcode and an iOS simulator to preview your project.'
我安装的Xcode。它在文件中:
Macintosh HD < Applications < xcode-beta
我安装了命令行工具。根据下面的命令行提示,它们位于
/Library/Developer/CommandLineTools
。
[redacted] at MacBook-Air-2 in ~
$ xcode-select -p
/Library/Developer/CommandLineTools
[redacted] at MacBook-Air-2 in ~
$ /usr/bin/xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
directory '/Library/Developer/CommandLineTools' is a command line tools
instance
[redacted] at MacBook-Air-2 in ~
$
Xcode>首选项>位置 并选择Xcode命令行工具 这为我工作 –