转自:http://blog.csdn.net/sing_sing/article/details/7497794css
解释一下这标题:apple我的开发者证书无线发布app的实现,也就是说不通过发布到app store,直接在ios设备上安装app,注:ios设备不须要越狱。html
之因此有这篇文章的产生,能够看这里:ios
不经过App Store,在iOS设备上直接安装应用程序服务器
下面直接上图,介绍实现步骤:app
一、设置签名post
利用developer profile或者adhoc distribution profile签名app,注意,不能使用distribution profile方式签名,通过测试,是没法安装的。其中缘由我的认为developer profile和adhoc distribution profile均可以指定设备,跟以前了解到的,我的开发者证书只能在100个设备中实现无线安装是一致的。测试
二、生成arichiveui
菜单:product->build for->arichiving,而后product->archive,完成后能够在organizer中看到生成的arichive。url
三、生成ipa
选择刚刚生成的arichive,点击“Distribute…”,弹出以下图界面,选择第二个:
选择后点“next”,设置相关参数,以下图:
必定要勾选“save for enterprise distribution”,简单解释一下各个参数。
application url,是生成的ipa在服务器的位置;title是安装过程当中出现的标题;subtitle暂时不清楚作何用处;large image url 和 smal image url是安装过程当中出现的图标。
点击保存,将生成两个文件:myApp.ipa和myApp.plist。
四、服务器部署
将myApp.ipa和myApp.plist部署到服务器,同时在服务器生成一个html文件,目的是点击后打开一个连接,这样ios设备就会执行指令自动安装app了。
要打开的连接内容以下:
itms-services://?action=download-manifest&url=http://192.168.5.7:8080/stgApp.plist
五、附一个偷回来的html文件:
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>Install Geoloqi</title> <style type="text/css"> body { background: url(bkg.png) repeat #c5ccd4; font-family: Helvetica, arial, sans-serif; } .congrats { font-size: 16pt; padding: 6px; text-align: center; } .step { background: white; border: 1px #ccc solid; border-radius: 14px; padding: 4px 10px; margin: 10px 0; } .instructions { font-size: 10pt; } .arrow { font-size: 15pt; } table { width: 100%; } </style> </head> <body> <div class="congrats">Congrats! You've been invited to the beta of Geoloqi.</div> <div class="step"> <table><tr> <td class="instructions">Install the<br />FilmPicker App</td> <td width="24" class="arrow">→</td> <td width="72" class="imagelink"> <a href="itms-services://?action=download-manifest&url=http://192.168.5.7:8080/stgApp.plist"> <img src="icon.png" height="72" width="72" /> </a> </td> </tr></table> </div> </body> </html>
以上步骤顺利通过测试。在摸索过程当中参考了如下几篇文章,粘贴一下,以表示对做者迷途指导的感激之情。