开发者

How to generate a distribution build?

开发者 https://www.devze.com 2023-03-23 20:29 出处:网络
Is there any document that deta开发者_如何学Pythonil out the process to generate a distribution build?I had very similar issues trying to get started with publishing to the App Store and Apple did not

Is there any document that deta开发者_如何学Pythonil out the process to generate a distribution build?


I had very similar issues trying to get started with publishing to the App Store and Apple did not make getting up and running very easy to understand so hopefully I can help with the very muddy waters you're about to tread through.

There are 3 main resources you need to keep in sync and those are the iOS Provisioning Portal, iTunes Connect and Xcode.

  1. iOS Provisioning Portal allows you to create provisioning profiles, certificates and App IDs that are used by Xcode and iTunes Connect.

  2. iTunes Connect is used to create and manage your applications on the App Store.

  3. Xcode is your development studio and can be used to upload your binaries directly to iTunes Connect. Xcode will also be the system that signs your binary with the security certificate you created in the iOS Provisioning Portal.

As of this writing there are at least 2 major versions of Xcode (3 and 4) being widely used by developers and the process varies slightly between the two, but before you even get into trying to build a distribution build, you need to first head over to the iOS provisioning portal to create your:

  • App ID
  • Distribution Provisioning Profile
  • Distribution Certificate

You can get started with the information located on the iOS Provisioning Portal's overview page.

Note that you will need to have an active iOS developer account to access these areas of the iOS Dev Center and the iOS Provisioning Portal.

Once you've created the above items, you should be able to follow the instructions on the iOS Provisioning Portal to download and install your distribution profile and certificate.

After that you will need to login to iTunes Connect.

Again, you need an active developer account to access these resources.

Once in, you will need to create a new application using the "Manage Your Applications" link on the right side of the page. When creating your application in iTunes Connect be sure to use the App ID you created for your App in the iOS Provisioning Portal otherwise the binaries won't match when you upload the binary from within Xcode.

If you are using Xcode 4 you should be able to follow the instructions on this blog for building your project for distribution on the App Store.

If you are looking to do beta Ad-Hoc distributions to users other than yourself, I highly recommend using testflightapp.com as it makes managing the entire process extremely easy and negates the need for your users to have to muck around with provisioning profiles, certificates or even iTunes in general (installs over the air). I just started using it the other day and I'm already hooked and it happens to be free so that's a big plus.


Yes, look on iTunes Connect for details on how to do AdHoc and App Store builds.

0

精彩评论

暂无评论...
验证码 换一张
取 消