macOS is closed-source, and all developers who wish to develop for macOS or iOS must purchase a license through the Apple Developer Program.