Xojo includes the ability for you to supplement the plist a macOS build creates.
The entire of creating and adding a plist is fairly simple.
Start a text editor. Notepad, textEdit, BBEdit or whatever one you happen to use (vi, emacs, nano, etc will all work just as well)
Make sure you create a “proper” plist that includes the normal header and footer. its just an xml file. The basic form is as follows :
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <!-- your additions go here --> </dict> </plist>
Then you do need to look up the specifics of whatever key it is you’re adding and how it should be written.
The really lazy way is to open Xcode and use its built in plist editor by selecting File > New File > macOS > Property List and then saving the file. But for folks on other OSes thats not going to work.
A lot of the keys like Crash On Exceptions are booleans which are written as
<key> THE KEY NAME HERE </key><true/>
or false instead of true if the item should be off. Others like Apple Event usage are strings as follows
<key>NSAppleEventsUsageDescription</key><string> YOUR DESCRIPTION OF WHY YOU NEED TO USE APPLE EVENTS HERE</string>
There are LOTS of possible keys that can be in a plist. Adding them at build time can make a tedious process a bit simpler.