如何修复 xcrun 无法找到 simctl 错误? [英] How do I fix the xcrun unable to find simctl error?

查看:27
本文介绍了如何修复 xcrun 无法找到 simctl 错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 Xcode 6.2 Beta.正在尝试

xcrun simctl

终端中产生

<块引用>

xcrun:错误:无法找到实用程序simctl",不是开发人员工具或在 PATH 中

解决方案

我输入

解决了这个问题

Xcode >首选项 >地点

I have Xcode 6.2 Beta. Attempting

xcrun simctl 

in terminal yields

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

解决方案

I solved this problem by entering

Xcode > Preferences > Locations 

And assigning the Command Line Tools

This is in Xcode Version 7.2 beta (7C46t)

这篇关于如何修复 xcrun 无法找到 simctl 错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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