Unable to connect to website for iPhone App

I have an iOS Enterprise account. I attached the security file as a link, as well as my plist, using the itms-services protocol. I am working on Ubuntu 10.04 LTS with an Apache2 server. I have already added Mime types to /etc/mimes.types. When I follow the magazine, I see that this sentence is reset, no problem, and plist itself can, but when I use my iPad to pull out the application by clicking on the link to the links to service objects, it seems to let me download it. He keeps telling me that he cannot connect to the url inside the iOS popup.

I use this link (with a missing domain name):

<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 plist using https, and I can use the IPA link inside plist to also get IPA without problems, but for some strange reason, I cannot get IPA using itms protocol using iDevice.

Does anyone know how to solve this problem?

+6
source share
4 answers

Your plist and links are correct

Check the authentication on your server on this page and the plist file request. Because the cookies in your browser do not send them to itunes on the device. Your plist file must be available without authorization.

+3
source

As @Antaresm said Content-Type MUST be application/xml and NOT text/xml , as everyone else says!

+2
source

This is obviously too late to solve your problem, but this post may solve someone else's problem.

I saw the same message when I forgot to upload the <appname>.plist to the web server. When I downloaded the *.plist file, the Cannot connect to <domain> popup window disappeared.

0
source

Another factor (last chance, pulling my hair) is that the web server only serves standard files (html, xml, asp, js, etc.). I asked Fasthosts to double check, and they changed the configuration to allow .ipa and .plist to serve as valid file extensions, and finally it works.

0
source

Source: https://habr.com/ru/post/918627/


All Articles