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.
Topic:
App & System Services
SubTopic:
Networking
Tags: