摘自:http://blog.csdn.net/azhou_hui/article/details/9058677
上面的链接说的很清楚,此处需要强调的是:
打测试包时,选择的是 发布证书+Ad_Hoc配置文件(在 配置文件+ 中,选择Ad Hoc。。。)
证书选好之后,开始打包,Xcode菜单栏里——Product——Archive,注意下面:选择Ad Hoc(注意啦,划重点)
然后一路默认选择进行下去。。。大功告成,打包成功。。。。