自己的经验总结,有错的话请留言,第一时间更改。
先大概说一下IOSAPP上架的几个步骤(详细步骤见下图):
创建证书请求文件
登录苹果开发者中心生成发布者证书(下载下来要双击一下)
设置APPID(要用到Bundle ID,建议从XCode中复制这样的话就不用更改XCode项目里的Bundl ID里,不然还得改)
生成配置文件(要用到APPID和证书,退出XCode再双击配置文件,打开项目)
在开发者中心里的ITunes Connect里的APP新建APP项目并配置相应的信息(需要各个版本的屏幕截图,运行模拟器,调到最大(command+1)用command+S截图(如果你的键盘没有更改command键的话),还有就是一个1024*1024的图标,不能有圆角)
设置XCode的一些属性(主要是选择配置文件和证书账号之类的)
打包并上传你的程序
详情如下:
创建证书请求文件
接着还有证书请求文件,有的人叫他CSR文件,证书一会要用到这个文件。
首先打开应用程序-》实用工具-》钥匙串访问(KEY CHAIN),左上角钥匙串访问-》证书助理中,选择"从证书颁发机构求证书",如下图:
id="iframe_0.7610328860819259" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s3.51cto.com/wyfs02/M02/7C/88/wKiom1bStjKx9hNeAADOOoz4Jk0294.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.7610328860819259',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 577px; height: 279px;">
在下图所示的界面,你的电子邮件地址:填你申请开发者账号的名称,也就是你登录苹果开发中心的用户名,常用名称,随便起但是要能找到,建议和APP的素材放到一起,但是这个可以单独用一个文件夹来存放证书,CA空,选择存存储到磁盘,点击"继续",然后完成。如图:
id="iframe_0.3001271983870353" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M00/7C/87/wKioL1bSt7bhsAHZAAD5hWjl35E006.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.3001271983870353',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 513px;">
有了证书请求文件就可以创建证书了
找到苹果开发者中心的Member Center(会员中心)
如图:
id="iframe_0.1078397531335773" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M00/7C/85/wKiom1bSfZngpSSGAAK5azl7VXc780.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.1078397531335773',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 564px;">
输入公司或个人的开发者账号和密码,如图:
id="iframe_0.1013188263063074" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M00/7C/84/wKioL1bSgkWSbLS0AAHHSnhw3Hc654.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.1013188263063074',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 564px;">
创建证书
然后登陆,就会出现以下界面:点击Certificates, Identifiers & Profiles
id="iframe_0.28402148452818554" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M02/7C/88/wKiom1bSrSOiP6MtAAEpfMk6-SA906.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.28402148452818554',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 220px;">
接着看到下图,按照下图继续点击,
id="iframe_0.9638851001338402" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M01/7C/88/wKiom1bSrdjjhNAoAACg2tssX20797.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.9638851001338402',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 342px; height: 508px;">
接着就可以制作证书文件,就选
id="iframe_0.5089063088871311" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M01/7C/87/wKioL1bSuEiCIgSRAAB191Cd71A033.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.5089063088871311',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 242px; height: 412px;">
就像之前创建APPID一样创建证书文件,需要用到刚才的那个文件,如图:
id="iframe_0.37723837365245916" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M00/7C/88/wKiom1bSuEOQXt2TAAAyUryGCNY397.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.37723837365245916',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 558px; height: 70px;">
id="iframe_0.33866911534611144" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M01/7C/9E/wKiom1bTyw_ABB8GAAMmobDU71I407.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.33866911534611144',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 623px;">
然后一直continue到这个界面,需要你选择刚才下载的证书请求文件,不要找错,如图:
id="iframe_0.28148632732536816" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M02/7C/9D/wKioL1bTzG2AmiuKAAGf6kQe6sc481.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.28148632732536816',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 494px;">
下载证书
id="iframe_0.09024116699667062" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M01/7C/9E/wKiom1bTzQiyPVEbAAGzDtJTqXA776.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.09024116699667062',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 433px;">
然后Done,下载好的证书需要双击一下导入到钥匙串里面。
接着就是到APPID里设置应用程序的名字(这个随便啦记住就行啦一会会用到的)和Bundle ID(建议从XCode中直接复制过来)
接着创建APPID
如图:
id="iframe_0.4597566263907774" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M02/7C/9E/wKiom1bTzdXR5NOEAAB4UhLC2E8471.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.4597566263907774',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 235px; height: 681px;">
id="iframe_0.5896760521060103" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M00/7C/9E/wKiom1bTzgbSdpCBAAAwiRJ8t2A404.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.5896760521060103',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 586px; height: 77px;">
id="iframe_0.7130561671526527" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M01/7C/9D/wKioL1bT0KjDoMeJAAHau7zqkzU969.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.7130561671526527',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 716px;">
然后continue,Submit,Done。
然后就是创建配置文件
id="iframe_0.8682054726231" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M02/7C/9D/wKioL1bT0VaA7u1CAAA7hGyErr8104.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.8682054726231',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 174px; height: 393px;">
id="iframe_0.314469333568841" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M00/7C/9E/wKiom1bT0SaRWB3gAAAz0fJsij0978.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.314469333568841',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 487px; height: 80px;">
id="iframe_0.07335749145212" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M00/7C/9D/wKioL1bT0ijQAiuWAAGINvMLe-I191.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.07335749145212',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 694px;">
id="iframe_0.7247916477657185" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M00/7C/9E/wKiom1bT0qLxxTzKAAFogZfu3jY965.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.7247916477657185',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 565px;">
id="iframe_0.40262498580249084" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M01/7C/9D/wKioL1bT1CXjCn-tAAB32SvFk08182.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.40262498580249084',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 152px;">
然后continue,
id="iframe_0.6912705644604334" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M02/7C/9E/wKiom1bT1BqzhwWIAADu2dlyUqI289.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6912705644604334',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 611px;">
id="iframe_0.1620784701520891" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M02/7C/9D/wKioL1bT1PzwdGJvAADVyWU6ZCY084.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.1620784701520891',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 625px; height: 541px;">
然后Done,退出XCOde双击配置文件,XCode会启动,打开项目即可。
接着登录ITunes Connect,新建APP
id="iframe_0.3802742044080035" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M01/7C/9D/wKioL1bT1YqBsnsgAADBP0m3w4s127.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.3802742044080035',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 680px; height: 470px;">
id="iframe_0.20743671567085564" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s3.51cto.com/wyfs02/M01/7C/9E/wKiom1bT1lew0m0MAABjs-xcOJE054.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.20743671567085564',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 284px; height: 355px;">
左上角,点+,新建APP
id="iframe_0.6553351032880661" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M02/7C/9E/wKiom1bT1ujgzyhaAAAl5q-_kNc561.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6553351032880661',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 237px; height: 121px;">
id="iframe_0.1815923301657344" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M00/7C/9E/wKiom1bT11zg8WmtAAAo2N4WsnM267.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.1815923301657344',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 138px; height: 217px;">
id="iframe_0.4662919899113318" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M02/7C/A2/wKioL1bUI6eBJWfEAACzXMtwzVM558.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.4662919899113318',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 445px; height: 521px;">
接着还有就是配置一些应用程序的信息,只要是没说可不填的都尽量填上
如图:
id="iframe_0.41413892275404685" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M00/7C/AC/wKiom1bViLHyyskxAAHDgglnjJc458.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.41413892275404685',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 454px;">
id="iframe_0.5207461595111973" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M02/7C/AB/wKioL1bViYKwcbeYAAD9LnB9u-w540.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.5207461595111973',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 384px;">
id="iframe_0.1550580989929754" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M00/7C/AC/wKiom1bViVvgiS_DAACvzywrRnw549.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.1550580989929754',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 251px;">
每个版本最好都要有几张图片,图片的来源就是运行所有的模拟器,用command+1调到最大,然后command+s就可以了
id="iframe_0.16800289804640978" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M01/7C/AB/wKioL1bVi6vwTYIUAAFxSLSnzss582.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.16800289804640978',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 571px;">
id="iframe_0.6922903019430867" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M02/7C/AD/wKiom1bVi82Rl1BTAAB8EOcazVA944.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6922903019430867',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 623px; height: 405px;">
接着就是XCOde的配置了,HEHEHEHE是配置文件的名字
id="iframe_0.9449273683629742" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M00/7C/AB/wKioL1bVjXaRobIEAAI7XGvb5xM098.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.9449273683629742',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 455px;">
id="iframe_0.22313981800699823" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M01/7C/AD/wKiom1bVjkGwthmWAAJqpbQMRD0225.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.22313981800699823',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 445px;">
这个就解释到这吧,
剩下的就是打包上传了
把模拟器的设备选一下
如图:
id="iframe_0.43158036598374827" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M01/7C/AB/wKioL1bVkaOzZXBUAAAnkhJpWck696.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.43158036598374827',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 379px; height: 43px;">
然后就是
在Product->Archive进行编译
id="iframe_0.6338197557196869" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M02/7C/AB/wKioL1bVkuqjxHRYAACnjssBS6g500.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6338197557196869',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 331px;">
id="iframe_0.7265207356740262" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M02/7C/AD/wKiom1bVkrWirrs5AACGy8hLWas161.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.7265207356740262',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 580px; height: 350px;">
id="iframe_0.8637547708808714" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s3.51cto.com/wyfs02/M01/7C/AD/wKiom1bVk7-wO2aHAAB5G61ciuQ251.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.8637547708808714',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 580px; height: 350px;">
接着就可以上传到APPStore了
id="iframe_0.04777339759098875" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s4.51cto.com/wyfs02/M00/7C/AC/wKioL1bVlQKB1Iq8AABaIhCA-H8986.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.04777339759098875',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 291px; height: 200px;">
还有最后一步就是登录到开发者中心找到iTunes Connect的APP
找到准备提交,内建版本找到刚才上传的那个APP就可以了,如图:
id="iframe_0.992231948831946" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s5.51cto.com/wyfs02/M00/7C/AD/wKiom1bVlhmyVYZIAACc3bU7T-0090.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.992231948831946',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 690px; height: 272px;">
然后点击提交以供审核就可以了。
重点来了
在下面这个地方我是死了N多次
id="iframe_0.6558550744149492" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s1.51cto.com/wyfs02/M02/7C/AD/wKiom1bVkrWirrs5AACGy8hLWas161.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6558550744149492',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 0px; height: 0px;">
如图:
id="iframe_0.6279198654955124" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://s2.51cto.com/wyfs02/M01/7C/AD/wKiom1bVlu_TVVndAACqd8EL7oM457.png?_=5232633%22%20style=%22border:none;max-width:690px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6279198654955124',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; border-style: none; width: 592px; height: 359px;">
最终的最终还是解决了,原因是因为有个证书过期了删了再下个就好了:
打开钥匙串
显示所有已过期的证书
3,在‘登陆’和‘系统’中删除已过期的Apple Worldwide Developer Relations Certification Authority证书(‘系统’需要解除权限才能删除)
4,下载新的Apple Worldwide Developer Relations Certification Authority证书,双击安装即可。