gpt4 book ai didi

cocoa - 在应用程序文件夹中找不到 Mac 应用程序

转载 作者:行者123 更新时间:2023-12-03 16:19:02 27 4
gpt4 key购买 nike

我安装了一个使用终端和命令编写的应用程序。

sudo installer -store -pkg "/Users/MyName/Desktop/HelloWorld.pkg" -target /

它似乎有效,但我在“应用程序”文件夹中的任何位置都找不到该应用程序。终端吐出这个

installer: Installation Check: Passed
installer: Volume Check: Passed
installer: Starting install
installer: Install 0.0% complete
2010-12-08 00:45:26.272 installer[18658:2303] PackageKit: *** Missing bundle identifier: /Library/Receipts/Flip4Mac QuickTime Components.pkg
2010-12-08 00:45:26.275 installer[18658:2303] PackageKit: *** Missing bundle identifier: /Library/Receipts/Flip4Mac Web Plugins.pkg
installer: Install 9.1% complete
installer: Install 16.7% complete
installer: Install 23.1% complete
installer: Install 28.6% complete
installer: Install 33.3% complete
installer: Install 37.5% complete
installer: Install 41.2% complete
installer: Install 100.0% complete
installer: Finished install

另外,为什么终端告诉我一个与我正在安装的应用程序无关的应用程序?

有什么建议吗?谢谢。

编辑我通过单击安装程序包解决了该问题。然后我打开日志并查看所有消息。然后,我查找安装路径并进入该路径指向的目录。我删除了目录中的所有内容。我再次运行安装程序,应用程序安装在应用程序文件夹中。

编辑2我发现这个命令很有用。它基本上告诉您应用程序安装在您的计算机上的位置。

sudo installer -verbose -dumplog -store -pkg "HelloWorld.pkg" -target /

最佳答案

I looked at the log and said the application was moved from the Applications folder to the project build folder. How do I prevent it from doing that?

抬头望天,挥动拳头,大喊“该死的,你要搬家了!”

然后在 PackageMaker 中将其关闭。

关于cocoa - 在应用程序文件夹中找不到 Mac 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4384586/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com