Xcode 10在安装Carthage依赖项时无法找到适用于iOS的任何可用模拟器

kro*_*oko 25 xcode ios-simulator carthage

我正试图在我的Xcode项目中安装Carthage依赖项

Carthage bootstrap --platform iOS 
Run Code Online (Sandbox Code Playgroud)

命令行,但它失败了,我的终端有这条消息:

Could not find any available simulators for iOS
Run Code Online (Sandbox Code Playgroud)

我刚刚用10版本更新了Xcode,然后已经安装了模拟器.

我也尝试删除每一个并重新安装iOS 12.

我还有同样的错误.

Tom*_*art 25

对我有用的是卸载迦太基并重新安装它.

brew uninstall carthage --force
brew install carthage
Run Code Online (Sandbox Code Playgroud)

  • 只需升级迦太基。酿造升级迦太基 (2认同)

Sof*_*ner 15

升级到v0.31.1或v0.31.2可以解决此问题:

brew update && brew upgrade carthage
Run Code Online (Sandbox Code Playgroud)