Mac App从Mac AppStore下载并安装后直接神秘消失
昨晚我们在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
苹果开发者论坛上的一位苹果开发者回答了这个问题:
我系统上的另一个用户之前已经从 XCode 构建了应用程序的调试版本。显然,任何下载的 Mac 应用程序版本都会覆盖这些应用程序 - 即使旧版本位于系统上其他用户的主文件夹中,您从 Mac AppStore 购买/下载的任何版本都会覆盖该版本;有效地将下载用户锁定在他可能刚刚付费的应用程序之外。
恕我直言,这是处理“更新”的蹩脚方式。但很高兴知道我们的应用程序运行良好。
感谢斯泰尔斯危机的帮助!
更新: Apple 已要求我针对此问题提交错误报告,我会做的。
An Apple Dev on the Apple Developer Forums answered this question:
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.
我正在 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.