I’ve been working on a macOS app through Xcode and currently have a app bundle “MyApp.app” being generated in Xcode’s DerivedData > … > Build > Products > Debug directory.
I’m now trying to create a flat pkg for this app using the Packages app. I’ve added “MyApp.app” into Contents > Applications so that it gets installed into the Applications directory after opening the pkg file, but when I try to build the pkg file I get the following error:
Unable to find tool ‘packages_builder’
I’m currently on macOS Sonoma 14.4.1 with an M1 chip.
I’ve attempted uninstalling and reinstalling Packages to ensure all of the files have been installed on my laptop correctly, and I’ve also attempted building an empty pkg file to ensure the error isn’t being caused by my specific app bundle. I’ve given Packages full disk access in my Privacy & Security settings.
Tomas Angelini Campbell is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.