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";无法定位"运行工具链时
基础教程推荐
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01