Cannot run build on connected iPhone (Xcode 16 beta 4 + IOS 18)

Build functions on simulator but when I select run on connected iPhone (12 Pro Max, latest iOS 18 beta) I am given a prompt window that says:

Preparing Tom's iPhone Xcode will continue when the operation is complete

with a loading icon. I have let it sit on this screen for over an hour with no change.

Running Xcode 16 Beta 4 on M3 MacBook Pro

Having the same issue, made a post about it a few days ago, I hope it gets fixed in the next version of Xcode which is hopefully releasing soon...

"Preparing Tom's iPhone Xcode" usually means Xcode is copying debug symbols off of the device but could also mean we're having issues mounting the DDI in order to start that operation. A quick way to check on that is to run xcrun devicectl list devices to check on the state of your devices. If the device in quesiton is connected then the DDI mounted, and we should be fetching symbols. If it is shown as connected (no DDI) then we might be having issues mounting the DDI.

If we're having issues mounting the DDI, this is the most useful info to gather:

xcrun devicectl list preferredDDI
xcrun devicectl device info ddiServices --device <Device Identifier>

The latter should report a detailed error about why the DDI failed to mount.

Cannot run build on connected iPhone (Xcode 16 beta 4 + IOS 18)
 
 
Q