Create a project in Xcode

更新时间:
复制 MD 格式

In this section, you will create an application that displays Hello World!.

Click Video tutorial to watch the video.

Create the project

  1. Open Xcode.

  2. Click Edit > mPaaS > New mPaaS Project, and then enter a Project Name and Project Path. In this example, the project name is MyH5Application.

  3. Import the configuration file that you downloaded from the console. Xcode automatically parses the file and fills in the required information.

  4. Select the app layout.

  5. Select the H5 Container & Offline Package project component.

  6. The project is created successfully.

  7. Click OK.

  8. Restore the Xcode signature.

    Note

    This step is optional. If the emulator does not respond after compiling the project, restore the Xcode signature and try again.

  9. Click Run. The project compiles and is installed on the emulator.