When I want to launch an app on the device from Xcode, I now keep seeing this:
I also just updated Xcode to Version 12.1, hoping it would solve the problem, but it doesn’t make any difference, I keep getting the same message.
I tried disconnecting and reconnecting the device, but to no avail.
I also removed all the data under ~/Library/Developer/Xcode/DerivedData/, but again with no effect.
Here’s how to fix it.
Method 1: Update XCode
Before you debug with iPhone, follow this mapping table about the version of Xcode and iOS:
Xcode 12.3 → iOS 14.3
Xcode 12.2 → iOS 14.2
Xcode 12.1 → iOS 14.1
Xcode 12 → iOS 14
Xcode 11.7 → iOS 13.7
Xcode 11.6 → iOS 13.6
Xcode 11.5 → iOS 13.5
Xcode 11.4 → iOS 13.4
Download at https://developer.apple.com/download/more/.
If you’re still encountering the error, try to unpair the device within the menu Window > Devices and Simulators, clean Xcode, reconnect and trust the device, then re-run.
Method 2: Add iOS Device Support File
- Download 14.2.zip file directly and after unzip it
- And just copy and paste unzipped folder by path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
- Restart the Xcode