开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜