Hi,
Thanks for your response.
I’ve double-checked the Info.plist entries, and everything seems correct. To rule out potential issues with my app’s configuration, I tested the behavior by initiating a CBCentralManager scan in the sample app provided in the Apple Developer portal for AccessorySetupKit.
I only added the ‘Privacy - Bluetooth Always Usage Description’ key to the Info.plist. However, when initializing CBCentralManager, its state is consistently reported as ‘Powered Off’ and never transitions to ‘Powered On’.
I’ve shared the updated ASKSample project source for reference. Could you please review it and confirm if I’m missing anything in the plist configuration or elsewhere?
The goal of this exercise is to enable BLE peripheral discovery using AccessorySetupKit and CBCentralManager within the same app, ensuring support for BLE communication on iOS 18 and earlier versions.
Thanks in advance for your help!
Source files: https://www.icloud.com/iclouddrive/084F4uKQwzlrYgWAkVyEesxCQ#AuthorizingABluetoothAccessoryToShareADiceRoll
Post
Replies
Boosts
Views
Activity
Thank you for your response. I have collected the HCI logs with both Bluetooth and AccessorySetupKit profiles. In the scenario I described above, the pairing is successful through AccessorySetupKit. However, the issue arises when I attempt to connect to the CBPeripheral equivalent of the paired accessory.
I have attached the HCI logs and a video of the steps I am taking with AccessorySetupKit. Please take a look and assist us with any possible solutions.
Sorry can't attach logs due to large size, please download it from here