I just update my iPhone to iOS 14 beta, does anybody have the iOS 14 device support files for Xcode? I'm using Xcode 11.
I just update my iPhone to iOS 14 beta, does anybody have the iOS 14 device support files for Xcode? I'm using Xcode 11.
You can actually add device support files from a future Xcode version on your current Xcode Version. This PR adds the file to a very popular GitHub repo that hosts these device support files: https://github.com/iGhibli/iOS-DeviceSupport/pull/110
Add Device Support files in Xcode. You can download device support files from here: https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport, Open Application right click on Xcode and click on show package contents and contents/Developer/platform/iPhoneOS.platform/DeviceSupport and paste in this folder then restart your Xcode and Enjoy
Follow the below steps in order to iOS 14 apps on Xcode 11 or earlier
Download iOS 14 support files from this link : https://github.com/filsv/iPhoneOSDeviceSupport
Quit Xcode
Unzip the downloaded file in the following location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and paste the unzipped file
Reopen Xcode and it works :)
It is more likely that it is not possible to connect mobile device with iOS 14 on Xcode version <= 12
As it is mentioned here according to xcode-12-release-notes
Xcode 12 now encrypts the connection between Xcode and paired devices, protecting against an attacker in a privileged network position executing arbitrary code on connected iOS, iPadOS, watchOS, or tvOS devices during a remote debug session. (60386733)
These security benefits are available when Xcode 12 connects to devices running iOS 14, iPadOS 14, watchOS 7, tvOS 14, or later versions. These OS versions also refuse debugger connections from older Xcode releases. Xcode 12 continues to support debugging for older OS versions, but without the new encryption.
Apple also gives some recommendations:
If you’re unable to upgrade to Xcode 12 or need to continue development on devices running older OS versions, you can help protect yourself with either of the following measures:
Connect Xcode to your devices over private and secured networks (including a direct connection);
or Physically connect your device to the Mac running Xcode using a cable, and ensure that the “Connect via Network” checkbox in the Xcode Devices and Simulators Window is unselected for these devices.
but they hardly helps
For iOS 14.7 device support file, you can make copy of Device support of iOS 14.6 and rename it for 14.7 I am using it in XCode 12.4 and it is working fine.
You can do it in 3 simple steps
/Applications/[Xcode-12|11-beta.app]/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport ([Xcode-11|12] your Xcode folder name)Apply for other Xcode and OS versions.
If you still have any problem after adding the device support files, checkout the article below. It worked for me.
https://medium.com/better-programming/debugging-on-ios-14-with-xcode-11-d332f12f49dd