Installing AppKit on macOS (Sequoia)
Introduction
This manual was written as of January 2025. The instructions work as of macOS version 15.1.1(24B91) and Python version 3.13.1.
Prerequisites
- Brew
- Python 3
- macOS
- Some version of macOS lower than 14 may work, but keep in mind that anything before 13 is end of life.
Instructions
- Install PyGObject using brew with :
brew install pygobject3 - Install cmake:
brew install cmake - Install libff:
brew install libffi - Tell
cmakewherelibffiis:export CFLAGS="-I$(brew --prefix libffi)/include" export LDFLAGS="-L$(brew --prefix libffi)/lib" - Install pyobjc using pip with :
pip install pyobjc - Install AppKit using pip :
pip install AppKit
Conclusion
That’s it! Maybe I already had some packages already installed that are also necessary but I wouldn’t be able to figure that out on my own. If you have anything to add to these instructions, then please send me an email at [email protected].