我正在尝试在我的 Xcode 项目中安装 Carthage 依赖项
Carthage bootstrap --platform iOS
命令行,但它失败了,我的终端中有此消息:
Could not find any available simulators for iOS
我刚刚用 10 版本更新了 Xcode,然后已经安装了模拟器。
我还尝试删除每一个,并在 iOS 12 中仅重新安装一个。
我仍然有同样的错误。
最佳答案
对我有用的是卸载 Carthage 并重新安装。
brew uninstall carthage --force
brew install carthage
关于Xcode 10 在安装 Carthage 依赖项时找不到任何可用的 iOS 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52650617/