Dropbox 发布adhoc 程序
  • Written by Zēng Liàng
  • June 16th, 2014
  • About adhoc

Dropbox 发布adhoc 程序

1.上传三个文件到dropbox,到自定义文件夹下

~/dropbox/adhocs/

  1. appname.ipa
  2. appname.plist
  3. setup.html

2.获取三个分享的链接地址:

  1. appname.ipa https://www.dropbox.com/s/zyxl2l762yddcel/appname.ipa
  2. appname.plist https://www.dropbox.com/s/9kjslujhxr6maes/appname.plist
  3. setup.html https://www.dropbox.com/s/qjq97tmi46girwo/setup.html

3.替换url

https://www.dropbox.com 替换为 https://dl.dropboxusercontent.com
  1. appname.ipa https://dl.dropboxusercontent.com/s/zyxl2l762yddcel/appname.ipa
  2. appname.plist https://dl.dropboxusercontent.com/s/9kjslujhxr6maes/appname.plist
  3. setup.html https://dl.dropboxusercontent.com/s/qjq97tmi46girwo/setup.html

4.修改setup.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head> 
<title>Setup My App</title> 
</head> 
<body>
<ul>
<li><a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/9kjslujhxr6maes/appname.plist"> Tap Here to Install the Application</a>
</li> 
</ul> 
</body> 
</html>

5.发布链接

https://dl.dropboxusercontent.com/s/qjq97tmi46girwo/setup.html

6.Xcode 生成adhoc,并选择Save for Enterprise Distribution,把上面生成的appname.ipa地址写入Application URL保存。

ObjcZL
Hey There!
What is This?