All Products
Document Center

Create a project in Xcode

Last Updated: Mar 24, 2021

This topic describes how to create an Application in which a toast Hello World! appears upon a tap on a button.

Create a project

  1. Start Xcode.
  2. Choose Edit > mPaaS > Create mPaaS project. Set the Project Name and Project URL parameters. In this example, set the project name to MyH5Application.

  3. Import the configuration file that you downloaded from the mPaaS console. After that, Xcode automatically resolves the file and fills in the other fields.
  4. Select a layout for the app.
  5. Add the HTML5 Container & Offline Package component to the project.
  6. Wait until the project is created.
  7. Click OK.
  8. Recover Xcode signatures.

    Note: This step is optional. If the emulator returns no response after you compile the project, recover Xcode signature and try again.

  9. Click Run. The project can be compiled and installed in the emulator. Now, you have created a project.