What is the MIME type for .mobileprovision

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-07 06:58:15

问题


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.


回答1:


If there is no specific MIME-Type, you may simply use application/octet-stream it will work.


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.

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".

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.

Note: If you want more info, sSearch the web or SO for "OTA Distribution", there are detailed articles about this including screenshots and examples.




回答2:


Mime(multi purpose Internet mail extensions) types

.mobileprovision and .ipa

application/octet-stream

.plist

 text/plain

application/octet-stream

It is a binary file.A generic http byte streaming.Typically it will be an application or document which must be opened in application.



来源:https://stackoverflow.com/questions/7338939/what-is-the-mime-type-for-mobileprovision

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!