I had the similar issue. CBPeripheral device stucks in Connecting state.
My problem was that I had 2 different CBCentralManager.
First central manager just discovers CBPeripheral.
Second work as background central manager.
So when the first manager discovered peripheral I store this CBPeripheral. Next I tried to connect stored peripheral with second central manager. And connection stucks in connecting state.
I fix this issue by removing second central manager and use only the first.
Post
Replies
Boosts
Views
Activity
I have the similar issue.
I use state restoration. And when trying connect to CBPeripheral my device stuck in Connection state.
Has anyone ideas how to solve this issue ?
I update Xcode from 14.2 to 15.2 and problem disappeared.