-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QBluetoothDeviceDiscoveryAgent::MissingPermissionsError
when running on arm macos
#9
Comments
Thanks @KorvinSzanto, I'll take a look 😊 |
Not expecting it to work, just hoping permission issues kick in before no-BLE-device failures, so we can replicate issue #9 (`QBluetoothDeviceDiscoveryAgent::MissingPermissionsError`) in CI.
So it looks like I'm going to have to convert the macOS app from a single executable, to an app bundle instead. This is mostly done already, but it does mean that that the CLI invocation will look a little different, ie instead of: ./build/src/cli/dokit status it will become: ./build/src/cli.app/Contents/MacOS/dokit status It might be possible to make it nicer with a symlink? (I thought for later). I'll also package the app into a Anyway, work in progress... 😄 |
We'll customise it next (ie for issue #9).
This was working for me for awhile with #10 applied but it has decided to stop working for some reason. Instead of the behavior originally described I see a panic showing essentially the same failure:
|
Thanks @KorvinSzanto, I've merged, moved to a CMake variable, and populated the rest of the
That is really odd. I'll do some digging 🤔 |
Hey there, I am struggling with this too. I tried two ways. With the first one, macOS does not even ask about permissions:
with this, macOS at least asks for BLE permissions but crashes after granting (see below):
Thanks and regards |
I get the following after building with cmake 3.26.3:
The text was updated successfully, but these errors were encountered: