I recently encountered a problem. I need to debug an iOS 17 device under Xcode 14.3.1, but the support files in the SupportDevice directory are only up to 16.4.
: iOS 17 requires Xcode15 or above, and the SupportDevice method is abandoned. However, because our original code is older, higher versions of Xcode are not supported.
After groping for a long time, I personally tested that I can debug iOS17 real device under Xcode 14.3.1 through the following steps.
Table of contents
1. Download the latest version of Xcode 15
3. Whether the test can be debugged
1. Download the latest version of Xcode 15
What I chose here is the latest Xcode 15.1 beta, download address portal:https://developer.apple.com/download/all/?q=xcode%2015
It needs to be installed at the same time as the lower version of Xcode currently being used.
2. Enable CoreDevice features
Open the terminal and execute the following command (be sure to install both Xcode15 and Xcode 14 in advance before executing it).
defaults write com.apple.dt.xcodeDVTEnableCoreDevice enabled
3. Whether the test can be debugged
Open the lower version of Xcode, and you can see the iOS17 device where you select the device. There is a (CoreDevice) mark after the device name.