Xcode 15.0(15A240d) cannot connect to iOS 17.0.2

Since my iPhone 14 Pro Mac was upgraded to iOS 17.0.1, the official release Xcode 15.0, not beta, can not connect to my iPhone. Both are official up-to-date release. My environment is Mac Studio 2023, macOS Ventura 13.5 with data migrated with Migration assistant from macOS Ventura too.

It worked before in Xcode 14 and iOS 16. Now I cannot develop my camera app.

The error message is : "Waiting to reconnect to Victor's iPhone 14 Pro Max..." in the Scheme region in Xcode. For "Devices and Simulators" window, the device on the left pane keep showing a spinning logo while on the top of window, a message "Waiting to reconnect to Victor's iPhone 14 Pro Max" is shown. And under it there is a message with small font size saying

"Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated."

I have tried to reboot my mac my iPhone, reinstall my Xcode, downgrade my Xcode, everything I can think of.

Please advise. Thanks

Same issue here. Did you manage to fix?

Also got the same issue with iOS 17.0.2 and Xcode 15.0 (15A240d).

@AidenForrest So far luck! Even after upgrading to iOS 17.0.3 while Xcode has no update available so still on 15.0

Today I received the update of iOS 17.0.3 on my phone, unfortunately the issue still persists.

On 2023/10/29 update my brand new iPhone 15 Pro Max with no any data transferred from old phone and got it as clean as it can ever get. Not even sign in my iCloud account. Upgrade to the latest version of iOS 17.1. Remove my Xcode using AppClean and re-install Xcode 15.0.1 After going through all these troubles, the error message is still the same. I also tried using different wifi router, both my Mac Studio M2 and my iPhone 15 Pro Max to a different wifi router. THE error still occurred! I even connect my Mac Studio M2 to my virgin iPhone 15 Pro Max's hotspot. Still ERROR!

I don't know if I should go as far as get another brand new mac like the iPhone 15 Pro Max, installed nothing except Xcode to test if it is Apple's problem or or or what?

Build a new house Network environment???

Gosh!

This is crazy, still having this issue 2 months down the line. I even used one of my developer account's code level support to try and fix it and no help there! Did anyone manage to eventually fix this issue?

I'm having the same problem. I'm going crazy.

It still persists here 1 - I updated macSonoma to 14.2.1 2 - I updated XCode to 15.0.1 and command line 3 - Remove and connect the device again And several dozen other adjustments that are said in other forums

IOS < 17 works normally

Nothing yet

xcode 15.1 , iphone 17.2.1 have same issue I try every way, still can not fix

it also accured xcode 15.2 ios 17.3 beta, I am going crazy

Same problem after upgrading to iOS 17.4.1 with an iPhone 11 Pro. I am using Xcode 15.3. Before the iOS upgrade, building with Xcode 15.3 was working. Any news?

Xcode 15.0(15A240d) cannot connect to iOS 17.0.2
 
 
Q