Which version of Xcode support iOS 12.2?

北战南征 提交于 2019-12-31 08:33:38

问题


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

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


回答1:


You have to download "device support files for the iOS" from here, And if you need any other "device support files for the iOS" you could download from here, Thin unzip it, Then go to your application folder, Right-click on the Xcode-Beta.app and chooseShow Package Contents, Navigate to Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport, Then paste the file you downlaod in it. Other resource.




回答2:


For Xcode Version 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.

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




回答3:


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.




回答4:


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




回答5:


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.




回答6:


Xcode 10.2 beta 3 (current version)

Available for download here:

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




回答7:


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)

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.



来源:https://stackoverflow.com/questions/54876861/which-version-of-xcode-support-ios-12-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!