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

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.

主站蜘蛛池模板: 苏尼特右旗| 贺兰县| 普安县| 浪卡子县| 迭部县| 周口市| 龙游县| 柞水县| 汝城县| 诸城市| 茂名市| 墨玉县| 万载县| 镇远县| 阿尔山市| 天气| 德化县| 西和县| 达日县| 望都县| 开原市| 灯塔市| 达拉特旗| 高雄县| 商都县| 临江市| 阜康市| 宁城县| 翁牛特旗| 武山县| 宜州市| 随州市| 广昌县| 武强县| 蓬安县| 莱州市| 都兰县| 广东省| 饶阳县| 衢州市| 张家川|