The pkg created using productbuild is not getting installed on Applications/

我怕爱的太早我们不能终老 提交于 2019-12-14 02:29:01

问题


In Mac OSX when I create a package using productbuild and it creates, as you can see below how it is used, the target is given /Applications. But it never installs at that location. I tried with other paths as well for no luck.

_CreateInstaller:
  Creating installer package

  /usr/bin/productbuild --component /Users/anoopvaidya/Documents/Projects/DesktopClient/MyApp.app /Applications /Users/anoopvaidya/Documents/Projects/DesktopClient/MyApp.pkg 

Done Building Project "/Users/anoopvaidya/Documents/Projects/DesktopClient/MyApp.Mac.csproj" (default targets).
Done Building Project "/Users/anoopvaidya/Documents/Projects/DesktopClient/MyApp.Mac.sln" (Build target(s)).

Build succeeded.

Guide me to fix this?

来源:https://stackoverflow.com/questions/54112620/the-pkg-created-using-productbuild-is-not-getting-installed-on-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!