如何以编程方式安装iOS应用程序? [英] How to install an iOS app programmatically?

查看:55
本文介绍了如何以编程方式安装iOS应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力将应用程序推送到设备上.
我能够以编程方式下载ipa文件(也是相关的配置文件).
我要做的下一件事是以编程方式安装此下载的应用程序文件.
我进行了大量搜索,发现沙箱和其他iOS限制不允许我安装此应用.
我需要知道有一种方法可以在设备上以编程方式(代码或脚本)安装iOS应用.
Android提供了一种使用Intents以编程方式安装应用程序的机制.
想知道是否有与Android在iOS中提供的类似或相似的东西

I am working on pushing an application on to device.
I was able to download the ipa file (also related profile) programmatically.
The next thing that i have to do is to install this downloaded application file programmatically.
I have done a lot of search and found that sandboxing and other iOS limitations wont allow me to install this app.
I need to know is there a way to install iOS apps programmatically (code or scripts) on the device.
Android provides a mechanism to install apps programmatically using Intents.
Want to know if there is anything analogoues or similar to what Android provides in iOS

推荐答案

您不能,至少不能从设备上进行. (注意:我的意思是没有越狱的设备.)

You can't, at least not from the device. (Caveat: I mean a non-jailbroken device.)

您可以 做的是在网站上提供IPA并将其下载到设备上.这就是企业部署的工作方式,您可以对临时构建使用相同的技巧.

What you can do is make an IPA available on a website and download it to a device. This is how enterprise deployment works, and you can use the same trick for ad hoc builds.

GitHub上有一个项目可以自动执行此操作: BetaBuilder .

There's a project on GitHub that automates this: BetaBuilder.

这可能不是您想要的,但据我所知,这是您目前所能找到的最接近的东西.

This probably isn't what you're looking for, but it's the closest that you can currently get as far as I'm aware.

这篇关于如何以编程方式安装iOS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆