iOS 17.5 and Xcode 15.4 (Beta) simulator on device not working

Hello, im a new Apple developper since 2 years. I have Been working hard to learn and trying to publish my first IOS , iPad OS and Mac OS app.

My app is taking form but I have few problems with the Xcode simulator to run ''on device'' for my iPad and iPhone. My devices began to disconnect and now I can't connect it anymore to run my code and debug. the are constantly in the state ''Trying to reconnect to '' and "preparing device".

I have already reset all my device and deactivate developper mode etc.

i have a iPad 7th gen and an iPhone 14 Pro Max .

they both have iOS 17.5 beta 2 (trying to fix the problem by keeping those up to date as much as possible.)

my Xcode version is 15.4 beta

My Mac book air 13 inch 2018 is running Sonoma 14.4.1 and the is no new os version bus its not an apple M family chip. I think there is a Sonoma 14.5 beta version but for apple architecture.

I really need your help plz