Comment on XCode 15 can't run on iOS 17 devices. Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated. Worked for me as well, thanks a lot @philipyoungg !!! I had to restart both, execute Xcode "clean build folder" and redownload iOS 17.4 in Xcode. Developer Tools & Services Xcode Apr ’24