教程Xcode 下编译发布与提交App到AppStore

The proplem of Prepare for Upload for App store upload Application 

App store 增加新应用的步骤。

1. 访问iTunesConnect,地址为https://itunesconnect.apple.com,用有上传权限的账户登录。

2. 选择“Manage Your Applications”

3. 此时可以看到目前已有的应用,此时点击左上角的“Add New Application”

4. 进入下图界面,此时输入下述内容

App Name:应用名称,一旦命名确认后,曾经用过的名字在其他应用中不能再用,所以此处需慎重,可以优先考虑用标准不含附加内容的名字。

SKU Number:应用的独立标示,和其他的不重复即可

Bundle ID:和开发中使用的Bundle ID保持一致,如果不一致,后期无法上传应用的二进制文件。

5.设定可用日期和价格

6.设定应用的信息

设定版本号、描述、主要归属分类、次要归属分类、关键字、版权、联系邮箱、服务网址、应用的独立网址(可选)等。

选择是否有暴力、成人等等内容,全部选择无。

上传512×512的Logo、截图(应该最后上传的显示在第一个位置,有待进一步确认),上传完毕后,选择“Save Changes”

7.进入如下界面,此时可以看到状态(Status)为“Prepare for Upload”,点击“View Details”或点击图标进入详情

8.选择右上方的“Ready to Upload Binary”。

9.根据应用实际情况选择是否加密,一般选择“No”

10.点击“Save Changes”进入下一步,由于当前版本的App Store需要用“Application Loader”(只能运行在Mac系统下)才能上传二进制文件,所以此步会提示下载“Application Loader”,点击“Continue”(这是旧的上传方法!xcode4的上传方法在如分割线下)

11.确认后,可以看到状态(Status)变为“Waiting For Upload”,此时在Web上面进行的工作基本完成。

12.在Mac系统中用下载安装的Application Loader进行上传,在Application Loader中会显示所有的状态为“Waiting For Upload”的应用,在列表中相应的应用即可,上传前会询问是否已经在iOS4测试过,如果测试过选择“Yes”。

13.上传完毕后,在iTunesConnect中可以看到状态(Status)变更为“Waiting For Review”,进入等待审核状态,至此上传过程完毕。

 

 

--------------------------------------------------------------我是神奇的分割线------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

  教程Xcode 4下编译发布与提交App到AppStore

转载:http://www.cocoachina.com/bbs/read.php?tid-55825.html

1. iOS Provisioning Portal 和iTunes Connect 没有变,下载与安装.mobileprovision文件与以前一下。

2. Xcode 4 整合相关的工具(All in One), 集成了Organizer与Application Loader.
Xcode4多了Run/Build Scheme的概念,指以前的编译的选项如 device/simulator, iOS version等。
发布应用时需要选择iOS Device:

 

选择 应用target及'iOS Device'

点击 Edit Scheme... 以编辑Archive选项,它的默认 编译配置为Release 并且 将归档显示在Organizer中:


修改scheme

3. 检查 编译配置文件:product name, info.plist, version, Target Device Family, iOS Deployment Target, Code Signing Identity etc. (这与Xcode 3.x一致)。

4. 进入Product菜单->Archive, 然后会自动弹出Organizer

Archive包是用来上传到AppStore的

Xcode4让你不需要关心编译发布的程序包在哪里,只需要在Organizer中管理即可。
当然你可以在XCode->Preferences->Locations tab配置程序的存储位置。

5. 在Organizer中选择 Archive, 验证与上传。

Validate and submit your app to AppStore

6. 成功上传App之后,Archive状态会变为 已提交。

注意:
Organizer中“Share Application” 是发布hoc包 ,将会生成一个.ipa文件,可用于真机测试。[ 此帖被ying0kun0在2011-04-27 10:41重新编辑 ]图片:2.jpg 
图片:3.jpg 
图片:4.jpg 

 

--------------------------------------------------------------我是神奇的分割线------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

转自“我os”的新浪博客,iOS程序发布测试4-打包(Archive)发布(share) 
发布测试的最后一步打包(Archive),Xcode4帮助文档有比较详细介绍,但是居然是错的,这里说明一下。 

1、设置“Build Settings” ,下图是官方文档截图,留意那个红框,居然说反了。 

 
"Skip install"一定要选NO,否则在下面的打包步骤后,Organizer看不到你的程序,就为这折腾我好些时间,国外论坛 一堆问题,说我按照官方文档做了,怎么Organizer看不到程序。 


 1.1 选择ad hoc证书 .在“Code Signing”栏,选择你在文章(“iOS程序发布测试3-生成ad hoc证书 ”)生成的发布证书(ad hoc),如下图, 

 
这里要选择“iPhone Distribution”,而不是“iPhone Development”,否则会在下面打包(Archive)步骤报证书错误。 


2、编辑“Scheme ”,选择菜单:Product -> Edit Scheme,如下图, 

 
红色框部分要选对,注意要分别选iOS Device和Release。 


3、打包(Archive ),选择菜单:Product->Archive,在organizer窗口可以看到你的程序, 

 
然后点击“share”按钮 ,进行发布(share) 


4、Share 

 

选第一个“iOS App Store Package”,生成.ipa文件,你的Tester使用itunes即可安装 。最后一个Archive,需要对方安装xcode。

 

 

--------------------------------------------------------------我是神奇的分割线------------------------------------------------------------------------

 

--------------------------------------------------------------------------------------------------------------------------iPhone Development 101: Distribution: 
Checklist for Submitting an App to the App Store

Note: This checklist has been updated for Xcode 4.2. For submitting apps with Xcode 3.2, click here.

Before you can release a paid app to the App Store, you must agree to all of the paid app contracts, and submit your tax and bank routing info. This should be done in iTunes Connect. For best results you should fill this out before you even begin working on any apps, because it can take several weeks for the contracts to be approved by Apple.

Preparation

1. Complete all of the coding and testing on your app.

2. Update the Appname-info.plist file in your app.

  1. Set the bundle identifier (if you haven't already) to YourAppName. (Remove the com.apple.whatever stuff.) The Identifier should not contain spaces or funny characters - alphanumeric and dashes are ok.
  2. If you want your app to be named something different on the actual device than its name in Xcode, change the "Bundle display name" as well.
  3. Update the bundle version. If this is your first time submitting this app, the version number should probably be 1.0.
  4. Be sure the icon file is set.

 

3. Build the app for distribution.

4. Write a description for your app for the app store. The app upload page says the description should be 700 characters or less, but that limit doesn't seem to be enforced.

5. Choose a numeric SKU for your app. This can't be left blank, and it has to be a unique number for each of your apps. (I usually use YYMM, like 0902, but you can use whatever you want as long as it's a number.)

6. Assemble your screenshots. You'll need at least one primary screenshot, and up to four more secondary screenshots. Be sure they're the right size: 640 x 960 for high resolution iPhone screenshots; 1024 x 768 for iPad screenshots.

7. Prepare your iTunes artwork. This is a 512 x 512 pixel 72dpi JPEG. It should match your icon artwork as closely as possible - apps are sometimes rejected if these two images are dissimilar.

When you've got all that prepared, you're ready to set up your app in iTunes Connect.

iTunes Connect

When you log into developer.apple.com/iphone, there's a link to iTunes Connect on the right. Once you're logged into iTunes Connect, click on "Manage Your Applications", then "Add New Application".

The app details page asks for your app name, description, copyright info, version number, SKU, application URL and support URL and support e-mail address (all of these are required). The URLs you enter translate to:

iTunes Connect calls it:What it shows on your app's page in iTunes:"Application URL""CompanyName Web Site""Support URL""Appname Support"

If this is your first time uploading an app to the app store, and you enrolled as an individual developer, you'll be asked if you want to set a Company Name. Think carefully about this - once you set it, you can NOT change it without calling Apple and going through their phone support line. If you set a company name then all of your apps will show it.

This is also where you should upload the iTunes artwork and screenshots.

Ratings: You'll be asked to rate your app by indicating whether it includes any offensive material.

Pricing and availability: this is where you set the price and release date for your app. You'll get a chance to review this after you select a pricing tier. The page should show a link to the pricing tiers, but if it doesn't show one initially, just set the price to anything and let it refresh. The link should show up then. 

Free
Tier1 - 0.99
Tier 2 - 1.99
Tier 3 - 2.99
Tier 4 - 3.99
Tier 5 - 4.99
Tier 6 - 5.99
And so on.

 

Release date: This defaults to the current date, but you can set it to a date in the future* if you like. When your app is approved, you'll want to log back into iTunes Connect and reset the release date to the approval date; that way the app will show up at the top of the new releases section of its category. If you fail to do this, then when your app gets approved it'll show up buried several pages down - not very desirable.

*if you're submitting an app UPDATE, however, you shouldn't touch the release date until you get word that your update has been approved. If you change the release date of an update to sometime in the future, then your CURRENT app will vanish from the app store!

Once you've finished setting up info on your new app, go to the app details page and click on the Ready to Upload Binary button.

Submitting Your App

Starting with Xcode 4, apps are now submitted from within Xcode. You should build a release build of your app, and be sure it appears in the Archived list in the Organizer (Window -> Organizer).

To submit your app to Apple, you'll first need to Validate the app, then Submit it. Select your application from the list of archived apps, then click the Validate button on the right. Xcode will prompt you for your iTunes Connect login credentials, and proceed to validate the app. If all goes well, the Status column will change to "Passed Validation". Then you can click the Submit button to upload it to Apple. When the upload finishes, the Status column will say "Submitted":

Once your app has been submitted, the app's status in iTunes Connect will change to "Waiting for Review". Now you just have to wait for Apple to review and (hopefully) approve your app. This usually takes about a week, sometimes longer. If you log into the iOS Developer Center and go to the  page, you'll find an App Store Review Status section that Apple keeps (more or less) updated with the percentage of apps that are approved within the past week.

While you're waiting for approval, you should set up a web page for your app.

After Approval

When your app is approved, you'll get an email saying your app is ready for sale. You should log back into iTunes Connect and change your app's availability date to today. This way your app will appear at the top of the "new releases" list in its category. You can only do this on the date your app was approved.

You can change most of the app details any time after your app is approved; if you want to re-word the description, or upload new screenshots, or change the price of your app, you can do so without having to go through the approval process again. The only time you'll have to wait for approval is when you submit an update (a new binary) to an app. Also, you can only change keywords or ratings when you upload a new binary.

 

 

--------------------------------------------------------------我是神奇的分割线------------------------------------------------------------------------

 

------------------------------------------------------------------------------------------------------------------------

 

 

xcode4上传app 发布应用程序(更新版本!!!)

Xcode 4上传App发布应用程序是本文要介绍的内容,如果是第一次上传应用程序,那么你要添加一个程序版本, 后面的步骤省略, 如果是更新版本,按照下面的步骤来做。

iOS Provisioning Portal 和iTunes Connect 没有变,下载与安装.mobileprovision文件与以前一样。

第一步: 在iTunes Connect上 add newVersion , 并把应用程序的状态设置成 waiting for upload,这个很重要.

第二步: 在info.plist文件中添加一个key-value 分别对应: Bundle versions string, short : 6.2 后面这个数字是版本号,要比之前的版本高就行

第三步: 选择左上角的Run 按住: 然后会弹出一个edit Scheme出来, 选择Archive: 修改如下:

Destination: iOS Device, Build Configuration: release , Options 打钩, 然后点Done .(Xcode 4 整合相关的工具(All in One), 集成了Organizer与Application Loader., Xcode4多了Run/Build Scheme的概念,指以前的编译的选项如 device/simulator, iOS version等, 发布应用时需要选择iOS Device)

第四步:检查编译配置文件:

  1. product name, info.plist, version, Target Device Family, iOS Deployment Target, Code Signing Identity etc. (这与Xcode 3.x一致) 

第五步: 进入Product菜单->Archive,然后会自动弹出Organizer

第六步: validate: 这个只要输入用户名和密码就可以. 验证成功以后就可以点submit提交给apple了! 祝大家成功!

  1. http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/  
  2. Xcode4UserGuide/DistApps/DistApps.html#  
  3. //apple_ref/doc/uid/TP40010215-CH11-DontLinkElementID_69  

这个是apple官方教我们上传的一个文档,注意这个文档里面有一个很严重的问题:  他在里面说要把targer--> skip install 里面的release:no 改成yes, 但是改成yes会有问题,acrchives里面显示不了, 所以不需要改成yes. 默认no就可以 这个错误我找了好久。

小结:解析Xcode 4上传App发布应用程序的内容介绍完了,希望本文对你有所帮助!

 

本文转载至:http://hi.baidu.com/306806106/item/8811347c0d3380366dc37c3b

转载于:https://www.cnblogs.com/Camier-myNiuer/p/3139728.html

你可能感兴趣的:(教程Xcode 下编译发布与提交App到AppStore)