macos - 使用 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.
指导我解决这个问题?
解决方案
推荐阅读
- angular - Ionic 4.1.1 中的“ToastOptions”类型中不存在“标题”和“按钮”,这与文档相反
- java - 上传多个文件在spring boot控制器中不起作用
- python - 如何从xpath中的当前节点遍历到父节点?
- android - 如何编写按钮以更改 Kotlin 中的布局?
- swift - SwiftUI ForEach 数组索引未呈现
- airflow - 气流:自定义日期:适用于日期时间,但不适用于钟摆
- python - ModuleNotFoundError:没有名为“apps.endpointsapps”的模块
- php - 如何在 Shopware 6 中为订单添加自定义字段?
- mule - Mule 4 - 直到成功 - 增加每次迭代的等待时间
- parquet - 编写 Parquet 文件时如何指定分区数?