Downloading an enterprise application cannot connect to the "website address" error

I created the AD Hoc assembly.

I used the following

  • Save for Enterprise Deployment or AD Hoc
  • Choose my distribution certificate
  • Save as "MyAppName"
  • Choose "Save for Enterprise Development"
  • Application URL https://www.myurl.com/app/
  • Title "MyAppName"

Then I upload the assembly to my website

I created an index.html page that looks like this.

<!DOCTYPE html> <html> <body> <a href="itms-services://?action=download-manifest&url=itms-services://?action=download-manifest&url=https://www.myurl.com/app/MyAppName.plist" id="text">Download Here!</a> </body> </html> 

Then, when I point the Safari browser for iPad to this URL and click on the link I created, an error message appears

"Unable to connect to www.myurl.com"

Now the address that was provided to me was initally β€œHTTP”, when I requested β€œHTTPS” due to update 7.1 in the corporate rules, the hosting company told me that it would also support β€œHTTPS”, so I'm not sure if this is what causing the problem? or if it is something with my settings?

UPDATE 1

I did a lot of reading and managed to find a useful link to apples iOS_Deployment_Technical_Reference the last few pages are most useful.

So, since then I realized that the link that I placed inside my index.html file is incorrect ... I tried to link directly to my application, I thought I read somewhere that when creating the manifest.plist archive assembly generated and placed in the .ipa file. This, as far as I can tell, after reading the documentation on the placement of boxes is not so.

The link should point to the manifest.plist file, which you also add to your web directory, the manifest file tells your iDevice where to go to download the application and several other details.

The bottom of iOS_Deployment_Tecgnical_Refrence shows an example manifest.plist file that I now edited and added to my web directory, I updated my index.html href to point to the manifest file.

Secondly, I downloaded the website certificate from the browser and emailed it to my ipad and installed it in the comments of @borrrden.

After all of the above, I still get an error message when I click on the link from my ipad "I can not connect to www.thewebsitesname.com" in the warning window, where the only option is to click in order.

This is an example web manifest for anyone interested.

 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/ DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <!-- array of downloads. --> <key>items</key> <array> <dict> <!-- an array of assets to download --> <key>assets</key> <array> <!-- software-package: the ipa to install. --> <dict> <!-- required. the asset kind. --> <key>kind</key> <string>software-package</string> <!-- optional. md5 every n bytes. will restart a chunk if md5 fails. --> <key>md5-size</key> <integer>10485760</integer> <!-- optional. array of md5 hashes for each "md5-size" sized chunk. --> <key>md5s</key> <array> <string>41fa64bb7a7cae5a46bfb45821ac8bba</string> <string>51fa64bb7a7cae5a46bfb45821ac8bba</string> </array> <!-- required. the URL of the file to download. --> <key>url</key> <string>https://www.example.com/app/AppName.ipa</string> </dict> <!-- display-image: the icon to display during download.--> <dict> <key>kind</key> <string>display-image</string> <!-- optional. indicates if icon needs shine effect applied. --> <key>needs-shine</key> <true/> <key>url</key> <string>http://www.example.com/image.57x57.png</string>< </dict> <!-- full-size-image: the large 512x512 icon used by iTunes. --> <dict> <key>kind</key> <string>full-size-image</string> <!-- optional. one md5 hash for the entire file. --> <key>md5</key> <string>61fa64bb7a7cae5a46bfb45821ac8bba</string> <key>needs-shine</key> <true/> <key>url</key><string>http://www.example.com/image.512x512.jpg</ string> </dict> </array><key>metadata</key> <dict> <!-- required --> <key>bundle-identifier</key> <string>com.example.fooapp</string> <!-- optional (software only) --> <key>bundle-version</key> iOS Deployment Technical Reference Guide 44 <string>1.0</string> <!-- required. the download kind. --> <key>kind</key> <string>software</string> <!-- optional. displayed during download; typically company name --> <key>subtitle</key> <string>Apple</string> <!-- required. the title to display during the download. --> <key>title</key> <string>App Name</string> </dict> </dict> </array> </dict> </plist> 

My questions come up to this question, do you support the manifest.plist file itself? or is there a way to do this with xcode? Secondly, what reasons can be the cause of this error when I select a link and get that it can’t connect to the website address.

Any help would be greatly appreciated, I am going to publish Bounty the next hour when this post becomes available for this ... thanks for reading if you got this far.

+6
source share
3 answers

Turns out my manifest file was completely wrong. I used this as an example.

http://gknops.imtqy.com/adHocGenerate/

So for the webpage you are loading

  • myApp.ipa
  • manifest.plist
  • index.html

hope this helps.

+4
source

I was getting the same or very similar error.

My solution was to add the appropriate mime types to a website hosted by Internet Information Services (IIS).

Namely, ".ipa" and ".plist".

enter image description here

+1
source

I ran into the same problems, but followed the next steps and decided.

The following MIME types are added on the configured site server.

Extension .plist

MIME types text / xml

The .ipa extension

MIME type application / octet stream

.html

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>App Name</title> </head> <body> <p><b>iOS App: Demo App</b></p> <p> <a href="itms-services://?action=download-manifest&url=https://www.server.com/appname.plist"> click this link to install </a> </p> </body> </html> 

.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://www.server.com/Adhoc/Addhocdemo.ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.companyname.appname</string> <key>bundle-version</key> <string>1.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>AdHoc Demo</string> </dict> </dict> </array> </dict> </plist> 

On iOS, version 10.3.1 works fine , but failed when iOS devices have iOS version lower than 10.3.

+1
source

All Articles