问题描述
.mobileprovision文件类型的正确MIME类型(IIS)是什么?我在想这是正确的方法吗?如果我必须将每个人的设备都连接到mac dev机器上以安装.mobileprovision文件,那么这将违反无线ad hoc分发方法的目的.
What is the correct MIME type (IIS) for a .mobileprovision file type? Am I thinking of this the right way? If I have to connect everybody's device to the mac dev machine to install the .mobileprovision file, it kind of defeats the purpose of the wireless ad hoc distribution method.
推荐答案
如果没有特定的MIME类型,则可以简单地使用application/octet-stream
它将起作用.
If there is no specific MIME-Type, you may simply use application/octet-stream
it will work.
无论如何,请注意,AdHoc分发方法(无线分发)不需要您提供.mobileprovision文件.至少就我而言,我已经进行了多个OTA分发,并且从未向用户提供.mobileprovision文件.
Note anyway that the AdHoc distribution method (Over The Air distribution) does not need you to provide a .mobileprovision file. At least for my case, I already did multiple OTA distributions and never provided the users a .mobileprovision file.
从Xcode中,只需选择"构建并存档",然后将构建文件存档到管理器窗口中的已归档应用程序"中,只需使用共享…"按钮,然后选择为企业分发".
From Xcode, simply choose "Build & Archive", then once the build is archived in your "Archived Applications" in your Organizer window, simply use the "Share…" button and choose "Distribute for Enterprise".
它将创建一个.plist文件和.ipa文件.然后将所有内容放在服务器上,并在您的网页上创建指向"itms-services://?action = download-manifest& url = http://url.to.your/app.plist"的链接.当用户点击其iPhone上的链接时,iOS会提示您为您的应用安装OTA.
It will create a .plist file and the .ipa file. Then put all that on your server and create a link to "itms-services://?action=download-manifest&url=http://url.to.your/app.plist" on your web page. When users will follow the link from their iPhone, iOS will prompt for OTA installation of your app.
注意:如果需要更多信息,请在Web或SO上搜索"OTA分发",其中有详细的文章,包括屏幕截图和示例.
这篇关于.mobileprovision的MIME类型是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!