trying to get permission for my app to access the wacom tablet

Hello!

My app needs to access the wacom tablet driver. I'm not sure how to give it permission to do that, I'm hoping someone here could point me in the right direction.

I'm developing my app in Max MSP, which I understand may limit people's ability to help me here, but I'm hoping theres some universal apple thing I could look into for this problem. Hoping someone can point me in the right direction...

At the moment it just crashes instantly when the wacom pen comes near the tablet. I've attached the text of the crash report.



I think the trouble is that it doesnt know to ask permission to access the driver. When opening other tablet-compatible apps for the first time I see a dialog box asking "[app] wants access to control "TabletDriver"..."

Is this an entitlements thing? Something to do with privacy and automation? I'm not sure how to get the app to offer this dialog box.


I'm using max 8.1.5 on Catalina 10.15.5

Some additional info for anyone with knowledge of max- I'm using the s2m.wacom object. It works fine inside max, and fine when I run the standalone executable in terminal (which also has permission to access the tablet driver according to system preferences / security and privacy / automation.) But when I run the standalone app as normal, it crashes the second the wacom pen comes near the tablet.

Thank you!
The immediate cause of that crash is that crash is that -[S2Mwacom outputValuesFromEvent:] has tried to get an element from an empty array. It’s hard to say why it’s doing that without looking at its code.

The fact that frame 8 indicates that someone is swizzling methods doesn’t exactly inspire me with confidence. What’s that about?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Still running up against this.

Essentially the wacom tablet functionality works until I codesign the app (using hardened runtime), then it doesnt work anymore. Anyone able to advise why this might be? Why would codesigning break my wacom functionality?

Why would codesigning break my wacom functionality?

It’s hard to be sure without knowing how that code works. Presumably you don’t have source for it?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Thanks Quinn-- I was able to find the source code for a slightly version (from 2013 rather than 2016) which gives me the same trouble

Code Block
https://metason.prism.cnrs.fr/Resultats/MaxMSP/s2m.wacomV1.03.zip

which gives me the same trouble

Cool. The next step is build that code, step through it, and see what it’s doing when it crashes.

Alternatively, you could escalate this via the support channel for that library.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Following up here, I've noticed even simple non-wacom-related apps can work with the tablet, like text editors or my ftp client. It works just like a mouse would, but with my app the tablet can't interact at all.

Struggling to understand why my wacom tablet would work with textedit but not with my app-- any hunches?
trying to get permission for my app to access the wacom tablet
 
 
Q