I have an iOS Enterprise account. I attached my provision file as a link and also my plist using the itms-services protocol. I'm running on Ubuntu 10.04 LTS with Apache2 server. I already added the Mime types to /etc/mimes.types. When I follow the log I can see the provision gets pulled down, without a problem, and the plist by itself can, but when I use my iPad to pull down the app clicking on items-services protocol link, it doesn't seem to let me download it. It keeps telling me that it can't connect to the URL inside of an iOS pop up box.
I'm using this link (with domain name stubbed out):
<a href="itms-services://?action=download-manifest&url=https://server.com/apps/StockCountApp.plist">
Install Stock Count Application</a>
Here is my plist:
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://server.com/apps/StockCountApp.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.server.StockCountApp</string>
<key>bundle-version</key>
<string>0.0.1</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>StockCount</string>
</dict>
</dict>
</array>
</dict>
</plist>
I can get to the plist using https and i can use the link for the IPA inside of the plist to also get the IPA without a problem, but for some weird reason I can't seem to get the IPA using the itms protocol using an iDevice.
Does anyone know how to solve this problem?
Connect to a different network If you don't have a mobile data connection, connect to a different Wi-Fi network, then load the website again. If you're using a VPN (Virtual Private Network), check your VPN settings. If you have a VPN turned on, some apps or websites may block content from being loaded.
Restart your device. If restarting doesn't work, switch between Wi-Fi and mobile data: Open your Settings app and tap Network & internet or Connections. Depending on your device, these options may be different. Turn Wi-Fi off and mobile data on, and check if there's a difference.
Click Apple in the central panel and find the App Store. Click the side arrow and select all app's files. Choose Reset from the option list. Press the Reset button.
You can clear website data occasionally to improve Safari performance. Go to Settings > Safari. Tap Clear History and Website Data. Tap Clear History and Data to confirm.
Your plist and links are correct
Check authentication on your server on this page and plist file request. Because cookies of your browser do not send them to itunes on device. Your plist file must be available without auth.
As @Antaresm said Content-Type
MUST be application/xml
and NOT text/xml
as everyone else says!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With