简体   繁体   English

有没有办法在带有过时版本的Xcode和macOS的iOS 12.2上运行应用程序?

[英]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à,支持您的设备。

check this for more info. 检查以获取更多信息。

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.

相关问题 Flutter 在 MacOS Big Sur VirtualBox 中构建 iOS Xcode 12.2 错误 - Flutter Build iOS Xcode 12.2 Error in MacOS Big Sur VirtualBox iOS 模拟器版本没有出现 - Xcode 12.2 - iOS simulator version doesn't appear - Xcode 12.2 ios 应用程序在 ios 14 上启动后崩溃,基于 xcode 12.2 - ios app crashing after launch on ios 14 built on xcode 12.2 有没有办法检测 Xcode iOS/MacOS 多平台应用程序中运行的是哪个平台? - Is there a way to detect which platform is running in an Xcode iOS/MacOS Multiplatform app? 在 xcode 10.1 上制作的 iOS 应用程序会在 iOS 版本 13 或更高版本上运行吗? - Will iOS app made on xcode 10.1 run on iOS version 13 or later? 无法在新的 Xcode 版本 13 上运行 React 本机 IOS 应用程序 - Not able to Run React native IOS App on new Xcode version 13 Xcode 12.2 版未部署在 iOS 14.1 设备上。 “xxx 的 iPhone 不可用。” - Xcode Version 12.2 not deploying on iOS 14.1 device. "xxx's iPhone is not available." 运行较旧的iOS版本XCode - Run older iOS version XCode 在同一个 Xcode 项目中拥有 iOS 和 macOS 应用程序 - Having iOS and macOS app in same Xcode project 更新至 Xcode 13,尝试在 iOS 而非 macOS 上运行 SwiftUI 应用程序时获得唯一的错误代码 - Updated to Xcode 13, get unique error code when trying to run SwiftUI app on iOS but not macOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM