哪个版本的 Xcode 支持 iOS 12.2?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/54876861/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:34:59  来源:igfitidea点击:

Which version of Xcode support iOS 12.2?

xcodexcode10ios12

提问by Jiayu Li

I was running my self-developed software on my iPhone 7 which runs iOS 12.2 when an alert had popped up:

我在运行 iOS 12.2 的 iPhone 7 上运行我自己开发的软件时弹出警报:

This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 12.2 (16E5201e), which may not be supported by this version of Xcode.

此 iPhone 7(型号 1660、1778、1779、1780)运行的是 iOS 12.2 (16E5201e),此版本的 Xcode 可能不支持。

回答by genius

You could follow these steps:

您可以按照以下步骤操作:

  1. You have to download "device support files for the iOS" from here,
  1. 您必须从这里下载“iOS 设备支持文件” ,

And if you need any other "device support files for the iOS" you could download from here,

如果您需要任何其他“iOS 设备支持文件”,您可以从这里下载,

  1. Thin unzip it,

  2. Then go to your application folder,

  3. Right-click on the Xcode-Beta.app and choose Show Package Contents,

  4. Navigate to Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport,

  5. Then paste the file you downlaod in it. Other resource.

  1. 细细解开,

  2. 然后转到您的应用程序文件夹,

  3. 右键单击 Xcode-Beta.app 并选择 Show Package Contents,

  4. 导航到 Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport,

  5. 然后将您下载的文件粘贴到其中。其他资源

回答by Giang

For Xcode Version 10

对于 Xcode 版本 10

  1. Download 12.2 (16E226)

  2. Copy 12.2 (16E226) directory to Applications? ? ?Xcode.app? ? Show package Contents ? ?Contents? ? ?Developer? ? ?Platforms? ? ?iPhoneOS.platform? ? ?DeviceSupport?

  3. Quit Xcode and open again.

  1. 下载 12.2 (16E226)

  2. 将 12.2 (16E226) 目录复制到 Applications?? ?Xcode.app? ? 显示包裹内容 ? ?内容?? ?开发商?? ?平台?? ?iPhoneOS.平台?? ?设备支持?

  3. 退出 Xcode 并再次打开。

=> Update for iOS 12.3 step 1 -> 2 copy folder 12.2 (16E226) and rename 12.3 -> 3

=> iOS 12.3 更新步骤 1 -> 2 复制文件夹 12.2 (16E226) 并重命名 12.3 -> 3

回答by snake302

You need Xcode 10.2 which is now available in the Mac AppStore and requires macOS 10.14.4. Direct download is not available right now.

您需要 Xcode 10.2,它现在可在 Mac AppStore 中获得,并且需要 macOS 10.14.4。目前无法直接下载。

回答by blcsntb

git clone https://github.com/iGhibli/iOS-DeviceSupport.git
cd iOS-DeviceSupport
sudo ./deploy.py -t /Applications/Xcode.app

More detail: https://github.com/iGhibli/iOS-DeviceSupport

更多细节:https: //github.com/iGhibli/iOS-DeviceSupport

回答by hardanger

If you already have folders from recent versions like below, you can often just duplicate the most recent one and rename it to whatever version Xcode asks for.

如果您已经有像下面这样的最新版本的文件夹,您通常可以复制最新的文件夹并将其重命名为 Xcode 要求的任何版本。

Finder illustration

查找器插图

回答by Daniel

Xcode 10.2 beta 3 (current version)

Xcode 10.2 beta 3(当前版本)

Available for download here:

可在此处下载:

https://developer.apple.com/download/

https://developer.apple.com/download/

回答by qtngo

Depending on your use case, the answer could be different.

根据您的用例,答案可能会有所不同。

If you want DEBUGGING (breakpoint, logging on console...) on your real device iOS 12.2, then you must have Xcode 10.2 (it's beta at this moment)

如果你想在你的真实设备 iOS 12.2 上调试(断点,登录控制台......),那么你必须有 Xcode 10.2(目前是测试版)

If you want to RUN your app on your device, you can use Xcode 10.1 (thought even Xcode 9 can do that). You can do that using beta distribution service like TestFlight, Fabric... Or by using Xcode, you can archiving your app, then drag & drop the .app file in your device.

如果你想在你的设备上运行你的应用程序,你可以使用 Xcode 10.1(甚至 Xcode 9 可以做到这一点)。您可以使用测试版分发服务(例如 TestFlight、Fabric...)来执行此操作,或者通过使用 Xcode,您可以存档您的应用程序,然后将 .app 文件拖放到您的设备中。