如何从应用程序本身自动更新 iPhone 应用程序?

发布于 2024-09-15 01:58:46 字数 371 浏览 3 评论 0原文

此链接显示了一个视频,其中从应用程序本身“强制”进行应用程序升级:

http://buzzworks.de/blog/update-ios-beta-apps-from-within-the-app

App Store 未调用,据说仅适用于特别指定 应用程序。

有人知道这怎么可能吗?

编辑:回答之前请先看一下视频。 AdHoc 应用程序由开发人员签名,并且并非来自 App Store。这种强制更新在进行 Beta 测试和企业应用程序时非常有用。

This link shows a video where an app upgrade is "forced" from within the app itself:

http://buzzworks.de/blog/update-ios-beta-apps-from-within-the-app

The App Store is not called in and it's said to work only for AdHoc
apps.

Anyone knows how is this possible?

edit: please give a look to the video before answering. AdHoc apps are signed by the developer and they do not come from the App Store. This sort of forced update is useful when doing beta testing and in enterprise applications.

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

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

发布评论

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

评论(3

长亭外,古道边 2024-09-22 01:58:47

我发现这一切都在这里解释:

http:// developer.apple.com/iphone/library/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html

开发人员应使用应用程序创建一个 .ipa 以及一个 plist 格式的清单,其中包含 .ipa 的 URL 和其他一些信息事物。

应用程序可以选择实现自己的方式来查找更新是否可用并打开
清单的 URL。

I've found that it's all explained here:

http://developer.apple.com/iphone/library/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html

The developer should create an .ipa with the app and a manifest in plist format with the URL to the .ipa and a few other things.

The app can optionally implement its own way to find if an update is available and open
the URL to the manifest.

壹場煙雨 2024-09-22 01:58:47

我不认为这真的可能,因为应用程序必须以某种方式自行签名。我现在能想到的最好的办法是该应用程序未签名?

I didn't it's really possible because the app has to somehow sign itself. The best I can think of right now is that the app is not signed?

紅太極 2024-09-22 01:58:47

当新版本发布时,你总是可以强迫人们去应用商店。只需首先让应用程序连接到网络服务即可。其他解决方案不被苹果接受,或者由于其他问题而根本无法工作(签名是众多问题之一)。

您还可以将应用程序设计为永远不需要强制更新。您可以从网络加载用户界面(Apple 在上届 WWDC 期间提供了一些有关此方面的有价值的信息),您的数据可以来自网络,如果需要进行任何其他更正,只需确保您的应用程序向后兼容即可。

这就是应用程序商店的运作方式。而且它从不需要“强制更新”......好吧,几乎从不;-)

You can always force people to go to the app store when a new version is out. Simply make the app connect to a webservice first. Other solutions are not accepted by Apple, or will quite simply not work because of other issues (signing is one of many).

You could also design your app in such a way that forced updates are never a requirement. You can load your user interfaces from the web (Apple has presented some valuable information about that during the previous WWDC), your data can come from the web, and if there is any other correction to do just ensure your app is backwards compatible.

That's how the app store works. And it never requires a 'forced update' ... Well, almost never ;-)

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