官术网_书友最值得收藏!

Setting up your mobile environment for iOS development

LiveCode enables us to create mobile applications for iOS devices such as the iPad, iPhone, and iPod Touch. Before we can start developing for these devices, we need a few things from Apple, which is the creator of iOS. This recipe details how to accomplish this.

Getting ready

Before you can complete this recipe, you will need to be a certified Apple Developer and have your account information (username and password) available. See more information.

How to do it...

Once you have your Apple Developer account and LiveCode installed on your development computer, you are ready to get started with this recipe.

  1. Log in to your Apple Developer account.
  2. Download the iOS SDK.
  3. Download and install Xcode.

    Note

    Xcode downloads are several gigabytes in size and can take a long time to download depending upon your Internet connection speed. Do not worry if the download takes longer than you anticipated.

  4. Select Preferences... from the LiveCode drop-down menu.
  5. Select Mobile Support from the left navigation pane of the Preferences window.
  6. Use the Add entry button to navigate to the location of Xcode on your development computer. When this is done correctly, you will see version numbers listed under Available device SDKs and Available simulators.

How it works...

In this recipe, we used our Apple Developer account to download and install the latest iOS SDK and Xcode software. Next, we configured LiveCode so that LiveCode's IDE is linked with our iOS development SDK. This will now allow us to develop iOS applications with LiveCode.

There's more...

It is important to ensure that you do not have any conflicts with your computer's operating system, version of the SDK, or Xcode. For example, if you are running Mountain Lion or Mavericks on your Mac development computer, it is recommended that you use Xcode 5.0.2 and SDK 7.0. Consult the latest LiveCode release documentation for updated information.

See also

  • The Setting up your mobile environment for Android development recipe
  • The Configuring standalone application settings for iOS applications recipe
主站蜘蛛池模板: 和田县| 枞阳县| 渑池县| 曲周县| 白河县| 天等县| 鄱阳县| 淳化县| 周口市| 华安县| 吉林市| 甘洛县| 调兵山市| 西乡县| 葫芦岛市| 合作市| 驻马店市| 崇明县| 灌阳县| 交城县| 博爱县| 确山县| 北京市| 崇文区| 延长县| 静海县| 河津市| 明星| 海伦市| 河西区| 都江堰市| 栖霞市| 双鸭山市| 延庆县| 从江县| 横峰县| 建阳市| 泰州市| 金昌市| 兰西县| 新竹县|