After two days, I finally realized the relationship between phonegap and Cordova. Some people say it is the relationship between WebKit and chrome, but I personally understand that two things will do one more thing, in addition, phonegap has been acquired by Apache, and it seems that no phonegap will be available in the future. All of them are collectively referred to as Cordova.
I used the command lines of phonegap and Cordova on the Mac machine at the same time, and found that the functions are basically the same, and the latter seems to be easier to use.
First, you need to install node. js. I think this is something like Microsoft's nuget. Then you can use node. js to install phonegap and Cordova. refer to the following API
Http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-Line%20Interface
Http://docs.phonegap.com/en/edge/guide_platforms_ios_index.md.html
$ sudo npm install -g cordova
Holiday !!!! Write back
How to add a plug-in barcodescaner to develop a phonegap application on Mac