Reputation: 1045
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.
Upvotes: 4
Views: 6875
Reputation: 32270
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.
Upvotes: 1
Reputation: 32681
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.
Upvotes: 7