如何从应用程序本身自动更新 iPhone 应用程序?
此链接显示了一个视频,其中从应用程序本身“强制”进行应用程序升级:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我发现这一切都在这里解释:
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.
我不认为这真的可能,因为应用程序必须以某种方式自行签名。我现在能想到的最好的办法是该应用程序未签名?
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?
当新版本发布时,你总是可以强迫人们去应用商店。只需首先让应用程序连接到网络服务即可。其他解决方案不被苹果接受,或者由于其他问题而根本无法工作(签名是众多问题之一)。
您还可以将应用程序设计为永远不需要强制更新。您可以从网络加载用户界面(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 ;-)