Thanks for the post.
It looks like you're encountering an issue with connecting your iPad 10th gen to Xcode due to a problem with Device Development Interfaces (DDI).
I would recommend to check this post:
https://developer.apple.com/forums/thread/761235?answerId=800905022#800905022
Where you can see you can force the tools to download and check the connection to your devices as well as how to gather the information to see the issue you are having.
First run:
xcrun devicectl manage ddis update
Still does not work, gather the information using
xcrun devicectl list preferredDDI
xcrun devicectl device info ddiServices --device <Device Identifier>
-
Understanding DDI: The error message indicates that the system is unable to find a suitable DDI for your iPad, which is crucial for establishing a connection between the device and Xcode. DDIs are responsible for handling the low-level communication between the iOS device and development environments like Xcode.
-
Check Xcode Command Line Tools:
- Ensure that your Xcode Command Line Tools are up to date. You can do this by running: bash
xcode-select --install
-
Run devicectl Command:
- Execute the command mentioned in the error to list preferred DDIs: bash
devicectl list preferredDDI
- This will provide more insight into which DDIs are available and why one might not be selectable.
-
Restart and Reconnect:
- Restart your Mac and iPad. Then, try reconnecting the iPad to your Mac using a high-quality USB cable, ensuring the cable and port are functioning correctly. Try a different cable or port if possible.
-
Reinstall Xcode
Please let me know the results. Thanks
Albert Pascual
Worldwide Developer Relations.