[英]Is there a way to run an app on iOS 12.2 with an outdated version of Xcode and macOS?
I'm developing a React Native application that I test and build on a real iPhone 7 using Xcode. 我正在开发一个React Native应用程序,该应用程序可以使用Xcode在真实的iPhone 7上进行测试和构建。 However, the iPhone recently automatically updated to iOS 12.2, which requires Xcode version 10.2.
但是,iPhone最近自动更新到了iOS 12.2,它需要Xcode版本10.2。 The problem is that I can't update Xcode because my Mac is running on High Sierra 10.13.6 and is too old to get the Mojave update (2011).
问题是我无法更新Xcode,因为我的Mac运行在High Sierra 10.13.6上,并且版本太旧,无法获得Mojave更新 (2011)。
So the question is: Is there any way I can still use the Mac to run the app on my real device, or am I forced to use the emulators/buy a new Mac from now on? 因此,问题是:我是否仍可以使用Mac在真实设备上运行该应用程序,还是我被迫从现在开始使用仿真器/购买新的Mac? Most importantly, is there I way I can still get the Mojave update on my old Mac?
最重要的是,有没有办法让我仍然可以在旧Mac上获得Mojave更新?
You can download the support files that you want from this repo 您可以下载您从这个要支持文件回购
Close your xcode, right click on xcode ->Show Package Contents->Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport, and unzip your file there. 关闭您的xcode,右键单击xcode->显示包内容->内容->开发人员->平台-> iPhoneOS.platform-> DeviceSupport,然后在此处解压缩文件。
Restart xcode and voilà, your device is supported. 重新启动xcode和voilà,支持您的设备。
There is some trick for you to install Mojavae and so Xcode 10.2. 您可以通过一些技巧来安装Mojavae ,从而安装 Xcode 10.2。
I hope that can help you, and think to deactivate the auto update. 希望对您有所帮助,并考虑停用自动更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.