App Can't be installed
I'm开发者_如何学Go trying to test installing my app and am having some issues. I built a .pkg using terminals productbuild command. Then I tried testing the installation using sudo installer on the .pkg I made with product build. When I try to run the sudo installer I get a message in terminal stating "theApp can't be installed on this computer". Any ideas why this could happen?
EDIT: Figured it out. Turns out there is a special installer command for running app store packages. For anyone who needs it the command is
sudo installer -store -pkg /Users/MyApp/ -target /DirectoryToInstallTo
精彩评论