Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
512 views
in Technique[技术] by (71.8m points)

plist - Error when distributing an IPA over the air with dropbox - iOS 7.1

As Apple requested to use https instead of http for distributing the IPAs over the air, I tried to use dropbox. I followed this solution Enterprise app deployment doesn't work on iOS 7.1 but I'm getting this error:

"Cannot connect to dl.dropboxusercontent.com"

when trying to install the plist through this link: <a href="itms-services://?action=download-manifest&amp;url=https://dl.dropboxusercontent.com/s/56ny312cwdacho7/xxxxx.plist> Install </a>

Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

NOTE : Shared links don’t render HTML content in a web browser

Refer https://www.dropbox.com/help/desktop-web/force-download

Check question

How to force render a file in a browser


EDIT : Reason is you will need to change link url and reupload it :

  • replace www.dropbox.com with dl.dropboxusercontent.com inall links
  • Reupload by making changes in link which are in html and plist file again.

Thats it. Enjoy


TOTAL SOLUTION

Needed file for distribution using example link are given below :

  • Build your app from xcode using Build and Archive option. Upload your ipa file to Dropbox. And get public link for the ipa.

Note : replace www.dropbox.com with dl.dropboxusercontent.com in the link.

  • Download the manifest.plist - edit the line #14 with the public link of your ipa . Modify other keys as well (bundle-identifier, bundle-version, title) .

  • Upload the modified manifest.plist to Dropbox and get its public link.

  • Download the index.html - edit url param at line #8 with public link of your manifest.plist

Hosting using Github. How that can be achieved is explained in following steps

  1. Create a new project.
  2. Add index.html as we will be hosting a site in Github Pages. Note html file with other name will not be valid as it should always be with index name.
  3. Now go to project settings. Traverse through Github Pages
  4. Under source tab select master-branch and click on save
  5. Traverse back Github Pages you will see site will be published

enter image description here

Now you have Download link like https://paresh-navadiya.github.io/install.html/


Refer How to distribute using DropBox by @ oldman's answer and Distribute your iPhone/iPad adhoc builds Over The Air using DropBox

It working 100% percent.

Have a nice day to all :)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...