I am trying to install an app from a XCode project onto a iOS 17.6.1 device. The Macbook is a MacOSX Sonoma 14.7, Apple M2 Pro. I'm running XCode 16.0. I receive a series of alerts before receiving the final message.
I tried to delete everything in this folder:
rm ~/Library/Caches/com.apple.dt.Xcode/Downloads/*
I reviewed the XCode components currently installed:
I downloaded more runtime simulators from this link. I then followed the instructions provided in this link. For example:
xcrun simctl runtime add "~/Downloads/iOS_17.4_Simulator_Runtime.dmg"
xcrun simctl runtime add "~/Downloads/iOS_17.5_Simulator_Runtime.dmg"
I'm still getting a message beside the device I want to install my app:
The Developer Disk Image Could Not Be Staged On The Host
I need help. I don't know what else to do. I don't see any matching simulators available for 17.6.1 and 17.7. Does anyone have any ideas?
One other easy test you can do is to create a brand new macOS user account, and see what happens when you try to build and run to your device from that new account. That would provide information about an issue pertaining to your setup at the user account level, or at the broader macOS system level. And if a new macOS user account is able to connect to the device, that then provides you a workaround while we investigate your bug report so that your development efforts are not blocked.
—Ed Ford, DTS Engineer