I'm creating a .pkg installer with the line below. It creates the installer in the correct place. When I execute the installer it doesn't write the .app to /Applications. It doesn't write it anywhere. Does anyone have an ideas how to fix this? I checked the installer.log on terminal and it doesn't show any errors.
sudo productbuild --sign "3rd Party Mac Developer Installer: xxxxxxx" --component BOZ.app /Applications ./BOZPackage.pkg