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

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

问题描述

我有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)

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

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