首页 > 解决方案 > 使用 productbuild 创建的 pkg 未安装在 Applications/

问题描述

在 Mac OSX 中,当我使用它创建一个包时productbuild,它会创建,如下所示它是如何使用的,目标是/Applications. 但它永远不会安装在那个位置。我也尝试过其他路径,但没有运气。

_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.

指导我解决这个问题?

标签: macosvisual-studiopackageproductbuild

解决方案


推荐阅读