分发包含 Mac App Store 上的后台应用程序的首选项窗格

发布于 2024-10-11 03:03:54 字数 102 浏览 1 评论 0原文

我的应用程序是一个首选项窗格,其中包含一个后台应用程序。 我想知道是否有人已经找到了通过 Mac App Store 分发“仅首选窗格”应用程序的最佳实践。商店中已有任何偏好窗格应用程序吗?

My app is a pref pane which includes a background application in its bundle.
I wonder if anybody has already figured out the best practice for distributing a "pref pane only" app via the Mac App Store. Are there already any pref pane apps in the store?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

对你再特殊 2024-10-18 03:03:54

Apple 声明包含首选项窗格的应用程序不是“独立的”,它们在准则不允许的共享位置安装代码或资源,因此违反了 https://developer.apple.com/appstore/mac/resources/approval/guidelines.html

Apple states apps containing preference panes are not "self-contained", they install code or resources in a shared location that is not allowed by the guidelines hence in violation of both 2.15 and 2.30 in https://developer.apple.com/appstore/mac/resources/approval/guidelines.html

醉生梦死 2024-10-18 03:03:54

首先我要说的是,我没有提交任何包含系统首选项窗格的应用程序(事实上,我没有向 Mac App Store 提交任何应用程序,仅向 iOS App Store 提交)。这个答案是基于我对指南的阅读以及对 OS X 工作原理的理解。

我已阅读 Mac App Store 指南,但没有发现它们排除了系统首选项窗格。 2.15 说:

应用程序必须是独立的、单个应用程序安装捆绑包,并且不能在共享位置安装代码或资源

Finder 将 .prefpane 文件视为任何其他文件 - Finder 启动处理此类文件的应用程序 (即 System Preferences.app)并打开该应用程序并将该文件作为参数传递。当 .prefpane 文件打开时,System Preferences.app 会询问用户是否要安装它(在系统库或用户库中)。 System Preference.app 正在“安装”.prefpane

如果应用程序在其捆绑包中包含 .prefPane 以及允许用户在 Finder 中打开文件的机制,那么我认为不会违反上述准则。

我很难相信苹果公司已经提供了更好的解决方案,但他们还希望开发人员用不必要的图标来扰乱用户的菜单栏。

我想知道是否有人尝试提交一个提供安装系统首选项窗格选项的应用程序。我还想知道我是否错过了 Apple 讨论此问题的一些文档(除了上面引用的指南之外)。

Let me start by saying that I have not submitted any apps that contain system preference panes (in fact I have not submit any apps to the Mac App Store, only the iOS App Store). This answers is based on my reading of the guidelines and my understanding of how OS X works.

I've read the Mac App Store guidelines and I don't see that they preclude system preference panes. 2.15 says:

Apps must be self-contained, single application installation bundles, and cannot install code or resources in shared locations

Finder treats a .prefpane file like any other file - Finder launches the app which handles files of this type (i.e. System Preferences.app) and opens that app and passes the file as an argument. When a .prefpane file is opened System Preferences.app asks the user were to install it (in the System Library or the Users Library). It is System Preference.app that is 'installing' the .prefpane.

If an app were to include a .prefPane in its bundle and a mechanism for allowing the user to open file in Finder then I do not think the above guideline would have been contravened.

I find it hard to believe that Apple wants developers to cluttered up users menu bars with unnecessary icons when they have already provided a much better solution.

I'd like to know if anyone has tried to submit an app that provides an option to install a system preference pane. I'd also like to know if I've missed some documentation from Apple which discuss this (besides the guidelines quoted above).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文