How to set up a PhoneGap development environment under the IOS platform

Updated on technology 2024-02-29
2 answers
  1. Anonymous users2024-02-06

    First of all, let's talk about PhoneGap.

    PhoneGap is a cross-platform open-source mobile web application development framework based on HTML5 standards. It allows users to access local applications, APIs, and applications of mobile devices through web technologies.

    Phonegap's official ** is:

    2.Open the local terminal. (Because I'm doing iOS porting, I'll only introduce the building environment under the iOS platform.) )

    cd /users/mac/documents/myhome/

    Here is my local directory, you can find it yourself according to your own directory).

    $. in the current path/create /users/mac/desktop/demo2 helloworld

    This means creating a folder on the desktop for a project with the project name hellworld).

    3.CD directly back to the original default path in the terminal.

    Then go to the cordova path of our desktop folder.

    Execute $. under this path/build

    Until you see the word success.

    4.At this time, open the demo folder you created on the desktop.

    Then use xcode to open the demo project inside, run it with a virtual machine, and if you see the following picture, you are successful.

    5.Let's move on to engineering.

    This is what the tree structure on the left side of xcode should look like.

    See the www folder right here is where your html5 program is.

  2. Anonymous users2024-02-05

    2.Open the local terminal. (iOS port, only introduces the building environment under the iOS platform.) )

    cd /users/mac/documents/myhome/

    This is the local directory, you can find it by yourself according to your own directory).

    $. in the current path/create /users/mac/desktop/demo2 helloworld

    Create a folder on the desktop for the project with the project name hellworld).

    3.CD directly back to the original default path in the terminal, then go to the cordova path of the desktop folder, execute $build until you see the word success.

    4.Open the demo folder created on the desktop, then use xcode to open the demo project in it, and run it with a virtual machine.

    5.Next, in the tree structure on the left side of XCODE, you can see the www folder, which is the HTML5 program.

    That's it for the phonegap environment.

Related questions
13 answers2024-02-29

First of all, it should be clear that out of the bank, there is no formal authorized foreign exchange platform in China, so some platforms that claim to be domestic do not believe in any steady profit and guaranteed income. >>>More

19 answers2024-02-29

The same procedure as fresh graduates, adding the registration form is slightly different from that of fresh graduates, you need to provide your own degree certificate and academic certificate, as well as the detailed information of the household registration, which you usually inquire about quietly, it is best to go to the department of your unit to manage the household registration or the police station where the household registration is located, in case you don't know it at that time. >>>More

5 answers2024-02-29

1: First of all, position yourself and determine whether the structural nature of the company is suitable for you; >>>More

10 answers2024-02-29

Mobile learning, also known as M-learning, is a new way of learning through mobile phones. With the popularity of WeChat and wifi, mobile learning has gradually been accepted by everyone. At present, the companies used are concentrated in the first-tier cities of Beijing, Shanghai and Shenzhen.

5 answers2024-02-29

Browse polls. After entering the post bar, the post with the [vote] mark after the title is the poll sticker, and you can click on it to browse the poll. >>>More