gpt4 book ai didi

launchd - 任何人提交或知道 Mac App Store 中使用 launchd 的应用程序?

转载 作者:行者123 更新时间:2023-12-04 13:00:11 28 4
gpt4 key购买 nike

只是想知道是否有人成功提交了应用程序或知道 Mac App Store 中存在使用 launchd 的应用程序。
谢谢。

最佳答案

有没有有什么办法可以直接向苹果询问这样的事情吗? 提交一个虚拟应用程序 - 很可能会被拒绝 - 不是一个很好的方式来了解应用程序商店中是否允许启动。他们(苹果)可能只是因为你的应用程序无用或跛脚而拒绝,哈哈!官方指南并不全面,尤其是在技术限制方面 - 我一生都无法找到与 App Store“人”交谈的官方 channel 。在过去 5 年大肆宣传 launchd 就像破解之后,如果 Apple 确实对利用其功能的应用程序制定了全面的政策,那将是令人讨厌的... ,几乎所有“做”任何有用的软件的要求。哼。

跟进……虽然不是这个特定问题的答案,it shines light on the subject ...

"It is launchd that is immediately responsible for capturing the exit status of MAS apps, and this is why store_helper and storeagent are launched when you use ‘open foo.app’, but not when calling the binary directly.

There appears to be a private launchd API (see launch_priv.h in launchd source) ‘spawn_via_launchd’ that allows the calling process to request launchd to spawn a process. This API allows feedback about the created process via an ‘observer port’. Looking at the diff of launchd between 10.6.5 and 10.6.6, you can see Apple fixed a bug in their code to make sure that the right exit status is captured by launchd and then forwarded to the original process via that observer port.

What appears to happen is that when an application is launched via LaunchServices, LaunchApplicationViaLaunchD calls ‘spawn_via_launchd’, and passes the observer port along via NotifyServerSideAboutLaunchedApplication. I think this then passes the observer port along to coreservicesd. I’m guessing coreservicesd is the one that checks the exit code, but I can’t be sure."

关于launchd - 任何人提交或知道 Mac App Store 中使用 launchd 的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5036068/

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