I get quot;xcrun: error: SDK quot;iphonesimulatorquot; cannot be locatedquot; when running the toolchain(我得到“xcrun:错误:SDK“iphonesimulator;无法定位运行工具链时)
问题描述
我正在尝试在 iOS 上编译 Kivy 程序,但是当我运行构建 Kivy 发行版的命令时,我不断收到此错误:
I am trying to compile a Kivy program onto iOS, but when I run the command to build the Kivy distro I keep getting this error:
xcrun: 错误:找不到 SDKiphonesimulator"
xcrun: error: SDK "iphonesimulator" cannot be located
我的电脑上有 xcode.怎么回事?
I have xcode on my computer. What is going on?
推荐答案
有点晚了,但是我在尝试 kivy 时遇到了同样的错误,这对我有帮助:在 XCode Preferences 中打开,进入 Locations 并查看您的 Command Line Tools 选择.我的是空的.当我将其更改为当前使用的版本时,错误突然消失了.我在这里找到了这个解决方案(底部):https://groups.google.com/论坛/#!topic/rubymotion/Xw8gPcr2Fl8
A bit late, but I had the same error experimenting with kivy and this helped me: Open in XCode Preferences, tab into Locations and take a look at your Command Line Tools selection. Mine was empty. When I changed it to the current used version suddenly the error was gone. I found this solution here (bottom): https://groups.google.com/forum/#!topic/rubymotion/Xw8gPcr2Fl8
如果仍然缺少某些内容,您可以尝试下载较旧的 IOS 版本以确保已安装某些内容.在您的应用名称旁边,您可以选择设备,单击它并选择下载模拟...并选择您想要的 IOS.这一步我在上面之前做过,不知道有没有必要.
If there is still something missing you can try to download an older IOS version to be sure there is something installed. Next to your appname you can select the device, click on it and select Download Simulations... and select the IOS you wish. I have done this step before the above, so I don't know if it's necessary.
这篇关于我得到“xcrun:错误:SDK“iphonesimulator";无法定位"运行工具链时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我得到“xcrun:错误:SDK“iphonesimulator";无法定位"运行工具链时
基础教程推荐
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
