Security Prefpane crashes

I wrote an applescript which requires access to disks. But when adding it to the allowed applications, the security prefpane crashes. I'm using OS X 10.14.7 on an iMac. When trying with another user on the same Computer, it crashes as well. When adding another script I wrote a few years earlier, The prefpane does not crash and the script gets added.


When adding the script on my MacBookPro with 10.15.7, the script is added. No crash.


Attached the last crashlog


Posted on May 14, 2021 1:31 PM

Reply

Similar questions

1 reply

May 14, 2021 2:30 PM in response to Stephan_Hr

Weird thing: I compiled the script using osacompile. That version makes Security Pane crash.


Then I compiled using Skript Editor. That version does not.


Differences are in

  • Contents/Info.plist
  • Contents/Resources/applet.rsrc
  • Contents/Resources/Scripts/main.scpt - which is weird as I see no difference when looking at them in Skript Editor
  • Only in the Skript Editor version: Contents/Resources/description.rtfd


I'm clueless what's going wrong here.


If you want to take a look: https://github.com/Skeeve/eject-e-Book-Reader/releases/tag/V1.0



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Security Prefpane crashes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.