安装Carthage依赖项时,Xcode 10找不到适用于iOS的任何可用模拟器 [英] Xcode 10 Could not find any available simulators for iOS when install Carthage dependencies

查看:125
本文介绍了安装Carthage依赖项时,Xcode 10找不到适用于iOS的任何可用模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用

Carthage bootstrap --platform iOS 

命令行,但是失败,并且我的终端中显示以下消息:

command line but It's fail and I have this message in my terminal:

Could not find any available simulators for iOS

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

I've just updated Xcode with the 10 version then the simulators are already installed.

我还尝试删除每一个,并仅在iOS 12中重新安装一个.

I've also tried to delete each one and reinstall only one with iOS 12.

我仍然有相同的错误.

推荐答案

对我有用的是卸载Carthage并重新安装.

What worked for me was uninstalling Carthage and installing it again.

brew uninstall carthage --force
brew install carthage

这篇关于安装Carthage依赖项时,Xcode 10找不到适用于iOS的任何可用模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆