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

Time for action – creating an iOS build

Follow these steps to create a new iOS build in Corona SDK:

  1. Open the Corona simulator and select Open.
  2. Navigate to your Hello World application and select your main.lua file.
  3. Once the application is launched in the simulator, go to the Corona Simulator menu bar and navigate to File | Build | iOS or press Command + B on your keyboard. The following dialog box will appear:
    Time for action – creating an iOS build
  4. Create a name for your app in the Application Name field. We can keep the same name, Hello World. In the Version field, keep the number at 1.0. In order to test the app in the Xcode simulator, select Xcode Simulator from the Build For drop-down menu. If you want to build for the device, choose Device to build an app bundle. Next, select the target device (iPhone or iPad) from the Supported Devices drop-down menu. From the Code Signing Identity drop-down menu, choose the provisioning file you created for the specified devices you are building for. It is the same name as Profile Name in the iOS Provisioning Portal on the Apple developer website. In the Save to folder section, click on Browse and choose where you would like your application to be saved.

    If all the information has been confirmed in the dialog box, click on the Build button.

Tip

It is more convenient to set your application to save on the Desktop; this way, it is easy to find.

What just happened?

Congratulations! You have now created your very first iOS application file that can be uploaded to your device. As you start developing apps for distribution, you will want to create new versions of your application so that you can keep track of the changes in every new build you make. All the information from your Provisioning Profile was created in the iOS Provisioning Portal and applied to the build. Once Corona has finished compiling the build, the application should be located in the folder you saved it under.

主站蜘蛛池模板: 民县| 翁牛特旗| 二手房| 郴州市| 蕲春县| 南丰县| 江山市| 二连浩特市| 西乌珠穆沁旗| 雷波县| 湖北省| 白城市| 马龙县| 伊川县| 靖江市| 高尔夫| 阳西县| 焉耆| 泰兴市| 广安市| 齐齐哈尔市| 高雄县| 连江县| 石城县| 织金县| 广宗县| 福鼎市| 梓潼县| 赤水市| 伊通| 乌审旗| 伊金霍洛旗| 广昌县| 敦化市| 宁晋县| 汽车| 洛浦县| 疏附县| 广南县| 新昌县| 襄汾县|