Xcode fails to Build on real iOS device running iOS 13

天大地大妈咪最大 提交于 2019-12-03 09:28:06

问题


I'm currently updated my iPhone XS Max to iOS 13.0.17A5492t Beta version.

My mac running on Mac OS Catalina and Xcode is on latest stable version not beta >> Version 10.2.1 (10E1001).

When i try to build my apps on my real device i get this compile error:

This iPhone XS Max is running iOS 13.0 (17A5492t), which may not be supported by this version of Xcode.

What i've done

  1. Download iOS 13.0 Developer Disk Image from repo.
  2. Pasted in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  3. Restart Xcode

but none of above worked.


回答1:


your step by step manual you performed actually helped me and now I can work with iOs 13 with xcode 10.2.1. There is only difference, that I downloaded device support files from this github, so you can try this. And I restarted whole mac to be sure:)




回答2:


I downloaded the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).

https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip

All other devices support list.

https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport

Follow These steps.

  1. Unzip downloaded file.
  2. Right click on Xcode and click on Show Package Content.
  3. Then paste your file on path.

    Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport

Then at last restart your Xcode.

It works for me.




回答3:


iOS 13.1.3 support for Xcode 10.2.1 with macOS Mojave (10.14.4)

  • Download iOS 13.1.3 Developer Disk Image from repo.
  • Unzip file 13.1.3 (17A878).
  • Past it in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
  • Restart Xcode.



回答4:


The same source as Lohi provided but for iOS 13.1 specifically (if somebody will search direct link and won't notice all available versions in parent folder)

iOS 13.1

All other versions

Unfortunately xcode 11 is still unstable so the trick is useful.

P.S.: Thanks to everyone who participated. Especially to iGhibli



来源:https://stackoverflow.com/questions/56521200/xcode-fails-to-build-on-real-ios-device-running-ios-13

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