This worked as of Feb 17 2025, on OSX Sonoma 14.7.2, using PyInstaller 6.12.0. And this packaged a very nontrivial app, which you can now download from https://cytoflow.readthedocs.io.
- Create a developer account with Apple
- https://developer.apple.com and shell out $99 for a developer account
- Wait a day or so for your developer account to be activated.
- Download and install XCode from the App Store.
- open XCode and install all of the command-line tools when it asks.
- Create a certificate signing request (CSR)
- Launch the "Keychain Access" utility