Posts

Post not yet marked as solved
1 Replies
351 Views
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?
Posted
by andr3a88.
Last updated
.
Post not yet marked as solved
12 Replies
4.4k Views
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
Posted
by andr3a88.
Last updated
.