Mac App从Mac AppStore下载并安装后直接神秘消失

发布于 2024-12-20 23:33:00 字数 580 浏览 10 评论 0原文

昨晚我们在 Mac AppStore 中发布了一款免费应用程序。在搜索(部分)标题时,该应用程序尚未显示,但是,我们可以通过搜索现有的 Mac 应用程序之一并单击“开发人员页面”来找到它。

当“购买”应用程序(实际上是免费的)时,LaunchPad 中会弹出图标,并显示下载和下载的进度条。安装显示。在 Snow Leopard 下,图标会弹出到 Dock 中,并显示下载和下载的进度条。安装显示。

然而,在这两种情况下,一旦进度条被填满,应用程序就会直接从LaunchPad / Dock中消失,并且无法再启动。

我检查了我的应用程序文件夹,但找不到该应用程序。我还在其他系统上检查了这一点(在从未在 XCode 中开发的用户帐户下),这些系统显示了完全相同的问题。我还尝试在我自己的系统上从 Mac AppStore 下载一些其他免费应用程序,这些应用程序下载并安装成功并且不会消失。

我们的应用程序似乎存在导致此问题的问题,但我不知道可能是什么。我没有发现其他人遇到这个问题。

首先,我很想知道导致此问题的原因,以便我们能够解决它。

其次,我想知道这个应用程序是如何通过苹果的审核流程来解决这个问题的。

有什么想法吗?提前致谢!

Last night we have released a free app in the Mac AppStore. The app didn't yet show up when searching for (parts of) the title, however, we could find it by searching for one of our existing Mac Apps and clicking through to our 'Developer Page'.

When 'buying' the app (it's actually free), the icon pops up in LaunchPad and the progress bar for downloading & installing shows. Under Snow Leopard, the icon pops into the Dock and the progress bar for downloading & installing shows.

However, in both cases, as soon as the progress bar is filled, the app directly disappears from the LaunchPad / Dock and can no longer be started.

I've checked my Applications folder, but the app is nowhere to be found. I also checked this on other systems (under user accounts that never develop in XCode), those showed the exact same problem. I've also tried downloading a few other free apps from the Mac AppStore on my own system, these downloaded and installed successfully and don't disappear.

There seems to be a problem with our app that causes this issue, but I have no idea what it could possibly be. I didn't find anyone else suffering from this problem.

First and foremost, I would love to know what causes this so we can fix it.

Secondly, I am wondering how this app ever came through Apple's review process having this issue.

Any ideas?? Thanks in advance!

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

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

发布评论

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

评论(2

硪扪都還晓 2024-12-27 23:33:00

苹果开发者论坛上的一位苹果开发者回答了这个问题:

您在系统的其他地方有该应用程序的副本吗? App Store 会将其安装在现有副本上,无论该副本位于何处。

我系统上的另一个用户之前已经从 XCode 构建了应用程序的调试版本。显然,任何下载的 Mac 应用程序版本都会覆盖这些应用程序 - 即使旧版本位于系统上其他用户的主文件夹中,您从 Mac AppStore 购买/下载的任何版本都会覆盖该版本;有效地将下载用户锁定在他可能刚刚付费的应用程序之外。

恕我直言,这是处理“更新”的蹩脚方式。但很高兴知道我们的应用程序运行良好。

感谢斯泰尔斯危机的帮助!

更新: Apple 已要求我针对此问题提交错误报告,我会做的。

An Apple Dev on the Apple Developer Forums answered this question:

Do you have a copy of that app elsewhere on the system? App Store will install it over an existing copy, whereever that copy happens to be.

A different user on my system had previously built a debug build of the app from XCode. Apparently, any downloaded versions of Mac Apps are written over those apps -- even if the old version is within the home folder of a different user on your system, any version you purchase/download from the Mac AppStore will overwrite thát version; effectively locking out the downloading user from the app that he may have just paid for.

Imho, that's a crappy way of handling 'updates'. But it's good to know our app is working fine.

Thanks for the help StilesCrisis!

Update: Apple has asked me to file a bug report for this issue, will do.

放手` 2024-12-27 23:33:00

我正在 Electron 上开发一个应用程序,对我来说,问题是我的项目文件夹中有构建文件,即使我删除了在应用程序文件夹中使用 .dmg 安装的应用程序也是如此。因此,Mac Store 似乎会占用整个磁盘空间并尝试查找具有相同应用程序 ID 的应用程序,如果存在,请不要重写它。

从项目文件夹中删除我的 .app.pkg 版本后,应用程序已从 Mac Store 成功安装。如果它不适合您,请尝试按以下方向清理应用程序相关文件夹:~/Library/Caches/Library/Application Support。我以前做过,不能保证仅删除项目构建文件可以帮助您。也许这些行动在某种程度上是有联系的。并且删除应用程序构建文件对您不起作用。

I'm developing an app on Electron, and for me problem was that I had build files in my project folder, even after I deleted the app which I installed with .dmg in Application folder. So, it seems Mac Store looks throw whole disk space and trying to find app with same app ID, and if it exists, don't rewrite it.

After deleting my .app and .pkg build from the project folder app successfully installed from Mac Store. If it will not work for you, please try to clean app related folder in these directions: ~/Library/Caches and /Library/Application Support. I did it before, and can't guarantee that removing only project build files can help you. Maybe these actions are somehow connected. And removing app build files do not work for you.

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