We are observing many crashes in our application related to NSKeyValuePopPendingNotificationLocal in Foundation. They appeared in the last 5 days, the Xcode version used for the build is 12.0.1 (12A7300).
Versions built with previous xcode are not affected
The stack below:
Crash log - https://developer.apple.com/forums/content/attachment/5db85801-6405-4483-ac9b-1f2d986482de
Post
Replies
Boosts
Views
Activity
Hi,
I'm working on an SPM library that uses CoreBluetooth. Since I need to work with Bluetooth in background, I've set CBCentralManagerOptionRestoreIdentifierKey option to my instance of CBCentralManager. When I run the unit tests I encounter the following exception:
Thread 1: "State restoration of CBCentralManager is only allowed for applications that have specified the "bluetooth-central" background mode"
Of course, my demo application that I use to test the library has the bluetooth-central background mode checked.
I think the issue is related to the fact that when the test target is executed, there is no associated application. Can background modes be applied to the package? How can this be resolved?
Hi,
after updating to iOS 18 beta 6, I’ve been experiencing unexpected behavior with CoreBluetooth when trying to discover primary services and characteristics of Bluetooth devices. This issue wasn’t present in previous iOS versions, such as iOS 17, where the same code and setup worked flawlessly.
Issue Details:
iOS 17: The primary services and characteristics are discovered without any issues.
iOS 18 Beta 6: Primary services and characteristics are not being discovered at all, leading to incomplete or failed Bluetooth communication.
Troubleshooting Steps Taken:
Verified Bluetooth permissions and settings in the app.
Tested the same codebase on devices running iOS 17 and iOS 18 beta 6.
Used nRF Connect to compare service
Has anyone else experienced this issue?
discovery results between different iOS versions.