简体   繁体   English

为最新的 iPhone 构建 Xcode iOS 应用程序(如何在不更新 Xcode 的情况下使 Xcode 部署到最新的 iOS?)

[英]Xcode iOS app build for newest iPhone (How to make Xcode to deploy to the very latest iOS without updating Xcode?)

There MacBook with MacOS Catalina 10.15.7, that I don't want to upgrade to macOS 11. Maybe macOS 12 in 2022, after all small bugs there will be fixed and polished.有 MacOS Catalina 10.15.7 的 MacBook,我不想升级到 macOS 11。也许 2022 年的 macOS 12,毕竟那里的小错误会被修复和完善。

I could check for exact Xcode version support from https://xcodereleases.com/ (as the latest Xcode require macOS 11 since Xcode 12.5 26 Apr 2021).我可以从https://xcodereleases.com/检查确切的 Xcode 版本支持(因为自 Xcode 12.5 2021 年 4 月 26 日起,最新的 Xcode 需要 macOS 11)。 So I downloaded Xcode 12.4所以我下载了 Xcode 12.4

Now there problem is that there is iPhone with the newest iOS 14.5: Xcode can see it, but refuses to deploy my iOS app, saying that that version is not supported.现在的问题是有最新的 iOS 14.5 的 iPhone:Xcode 可以看到它,但拒绝部署我的 iOS 应用程序,说该版本不受支持。 (But it work with iOS 14 emulator) (但它适用于 iOS 14 模拟器)

Well, I totally agree that to use newest feature on newest device a developer must have newest Xcode, but I don't need that.好吧,我完全同意要在最新设备上使用最新功能,开发人员必须拥有最新的 Xcode,但我不需要那个。 I just hope to compile with target for iOS 13-14 and be able to deploy even to the latest isOS 14-15 device.我只是希望针对 iOS 13-14 进行编译,甚至能够部署到最新的 isOS 14-15 设备。

How to make Xcode to deploy to the very latest iOS without updating Xcode?如何在不更新 Xcode 的情况下让 Xcode 部署到最新的 iOS?

Download specific DeviceSupport zip file from https://github.com/iGhibli/iOS-DeviceSupport and unzip content to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupporthttps://github.com/iGhibli/iOS-DeviceSupport下载特定的 DeviceSupport zip 文件并将内容解压缩到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM