Post

Replies

Boosts

Views

Activity

Bluetooth in Daemon program Not Working on Big Sur.
I use Authorization Plugin & Daemon to connect to mobile phone via Bluetooth to do user login authentication. It can be used normally in macOS 10.14, 10.15. But on Big Sur, the Bluetooth function is not working. To use [CBCentralManager authorization] always get CBManagerAuthorizationDenied. I have tried the following but it still not work. Add NSBluetoothAlwaysUsageDescription in plist Manually add my daemon program to the Security & Privacy > Bluetooth Is there any way to make the Bluetooth function to work?
2
0
726
Jun ’21
Why BigSur restart my app after waking up from sleep? And then cannot find my certificate...
My app checks the certificate exists in the keychain periodically. (Use API 'SecItemCopyMatching') Usually after my macbook wakes up, system will restart my app. Then my app cannot load the certificate. => SecItemCopyMatching always return errSecItemNotFound(-25300) Until I restart it again by myself. I remembered that the UEM Deploy my app had a similar situation before. My app launched after Deploy, SecItemCopyMatching always return errSecItemNotFound until I restart it myself. There are 2 questions: Under what circumstances, Big Sur will restart a running App? Why App started by the system cannot find the Certificate in the Keychain? Environment: BigSur @ M1 MacBook AIR Build : XCode 12.2
4
0
512
Jun ’21