Corona SDK Mobile Game Development:Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – downloading and installing Xcode

In order to develop any iOS application you will need to enroll in the Apple Developer Program, which costs $99 a year, and create an account on the Apple website http://developer.apple.com/programs/ios/.

  1. Click on the Enroll Now button and follow Apple's instructions to complete the process.
  2. When you have completed your enrollment, click on the iOS link under the section marked Dev Centers.
  3. If you are using Snow Leopard, scroll down to the Downloads section and download the current Xcode. If you are using Lion, you can download Xcode in the Mac App Store.
  4. Once you have fully downloaded Xcode, double-click on the .mpkg Installer package (icon is an open brown box). By default, Xcode will install in the folder /Developer. You will be asked to authenticate as an administrative user.
    Time for action – downloading and installing Xcode
  5. Aftr you have entered your credentials, click on the OK button to complete the installation.
    Time for action – downloading and installing Xcode
  6. When you have installed the Xcode developer tools, you can access the documentation by launching Xcode and choosing any of the items in the Help menu. Developer applications such as Xcode and Instruments are installed in /Developer/Applications. You can drag those following app icons to your Dock for convenient accessibility.

What just happened?

We just went through the steps of how to install Xcode to Mac OS X. By enrolling in the Apple Developer Program, you will have access to up-to-date development tools on the website. Remember that to continue being an Apple Developer you have to pay a fee of $99 annually to keep your subscription.

The Xcode file is quite large so it will take a bit of time to download depending on how fast your Internet connection is. When your installation is complete, Xcode will be ready to go.