CBPeripheralManager not advertising (iOS 12 Beta 2)

Originator:rob
Number:rdar://41399984 Date Originated:6/22/2018
Status:CLOSED Resolved:
Product:iOS 12 Beta 2 Product Version:12 Beta 2
Classification: Reproducible:Yes
 
Area:
Core Bluetooth

Summary:
After updating to iOS 12 beta 2, in multiple apps whenever I try to start advertising via the CBPeripheralManager no other device's CBCentralManager discovers the advertisement.

Steps to Reproduce:
If you check if the CBPeripheralManager state is powered on, that successfully works. Then when calling .startAdvertising() with advertisementData on the PeripheralManager the peripheralManagerDidStartAdvertising() function gets called without any errors. 

Expected Results:
I would except other apps CBCentralManager to discover that advertisement, but they do not.

Actual Results:
No other apps CBCentralManager discover the advertisement from this device.

Version/Build:
The device trying to advertise is an iPhone X on iOS 12 beta 2. (All this worked fine on iOS 12 beta 1, but broke on the newest update)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!