美文网首页
app发布流程及问题

app发布流程及问题

作者: Hollylord | 来源:发表于2015-11-18 16:29 被阅读95次

1.xcode一定要登录账号,否则PP文件和证书不匹配

2.真机调试,是用开发证书,而不能用release证书。

3.打包时,先设置scheme为release,然后设置对应的PP文件,再选product-->archive。

4. 图片文件夹的图片文件名不能包含中文,否则文件的尺寸就识别不了了。

5.

这都是苹果服务器的问题,重新再上传一次就行了。

6. 上传iTunes报下面错误

ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch story board in bundle 'xxxx'."

ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'xxxx'."

解决办法:

7. 版本号version与build

iOS的版本号,一个叫做Version,一个叫做Build

Version在plist文件中的key是“CFBundleShortVersionString”,和AppStore上的版本号保持一致,

Build在plist中的key是“CFBundleVersion”,代表构建次数,该值每次build(应该是版本更新)之后都应该增加1。

这两个值都可以在程序中通过下面的代码获得:

[[[NSBundle mainBundle] infoDictionary] valueForKey:@"key"];

举个例子吧。

第一次提交的版本是1.0这样子,然后build是1.0.0,但是由于在审核前发现了bug,需要重新提交一个包上去,这时比需要修改build的版本号,例如1.0.1这样子,保持version是1.0。

相关文章

网友评论

      本文标题:app发布流程及问题

      本文链接:https://www.haomeiwen.com/subject/heikhttx.html