Posted on 02-21-2022 04:19 PM
I'm in the middle of deployment and trying to convert an app into pkg - my code is below but I keep on getting the info screen in Terminal and it's not converting (it has worked in the past)
sudo productbuild --component /Applications/Filemaker Pro.app /Users/administrator/Desktop/FMP Update/Filemaker Pro.pkg
Can anyone see anything obviously wrong that could cause it not to work?
Solved! Go to Solution.
02-21-2022 05:45 PM - edited 02-21-2022 05:46 PM
Well, your paths have spaces so either you enclose them in double quotes, or escape the spaces with a \.
Here's the right code:
sudo productbuild --component /Applications/Filemaker\ Pro.app /Users/administrator/Desktop/FMP Update/Filemaker\ Pro.pkg
or
sudo productbuild --component "/Applications/Filemaker Pro.app" "/Users/administrator/Desktop/FMP Update/Filemaker Pro.pkg"
02-21-2022 05:45 PM - edited 02-21-2022 05:46 PM
Well, your paths have spaces so either you enclose them in double quotes, or escape the spaces with a \.
Here's the right code:
sudo productbuild --component /Applications/Filemaker\ Pro.app /Users/administrator/Desktop/FMP Update/Filemaker\ Pro.pkg
or
sudo productbuild --component "/Applications/Filemaker Pro.app" "/Users/administrator/Desktop/FMP Update/Filemaker Pro.pkg"
Posted on 02-21-2022 06:14 PM
Thanks :)