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?