问题
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
- Download iOS 13.0 Developer Disk Image from repo.
- Pasted in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 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.
- Unzip downloaded file.
- Right click on Xcode and click on
Show Package Content
. 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