如何在macOS Mojave 10.14.6上运行Xcode 11.4 [英] How to run Xcode 11.4 on macOS Mojave 10.14.6

查看:2514
本文介绍了如何在macOS Mojave 10.14.6上运行Xcode 11.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题背景:

我有一部iPhone 6s,已将自身更新到iOS 13.4.在iOS更新之前,我可以通过Xcode在设备上编码+运行我的应用,太好了.

I have an iPhone 6s that has updated itself to iOS 13.4. Before the iOS update, I could code + run my app on the device from Xcode, great.

现在,我无法在设备上的Xcode上运行我的应用程序来测试我的代码,因为它说:

Now I can't run my app from Xcode on the device to test my code, as it says:

Xcode could not locate device support files
This iPhone 6s is running iOS 13.4 (17E255), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com.

所以我尝试安装最新的Xcode(11.4),现在我必须将整个操作系统更新到Catalina.

So I tried installing the latest Xcode (11.4) which now says I have to update my whole OS to Catalina.

我不想这样做,因为我的系统运行正常,并且听说过有关该版本的坏消息.

I don't want to do this as my system is working fine and I have heard bad things about that release.

问题:

有没有一种方法可以使Xcode构建到我的iPhone中,而无需更新整个操作系统并可能破坏整个计算机?

Is there a way I can get Xcode building to my iPhone without updating my whole OS and potentially screwing up my whole machine?

推荐答案

您无法在Mojave上运行Xcode 11.4,但可以添加对iOS 13.4的支持

You cannot run Xcode 11.4 on Mojave but you can add support for iOS 13.4

  • 此存储库
  • 退出Xcode
  • 解压缩档案并将文件夹移动到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  • 启动Xcode
  • Download the 13.4 image from this repo
  • Quit Xcode
  • Unzip the archive and move the folder into /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  • Launch Xcode

考虑到这种方式仅添加了对iOS 13.4的支持,没有其他内容.

Consider that this way adds only the support for iOS 13.4, nothing else.

这篇关于如何在macOS Mojave 10.14.6上运行Xcode 11.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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