Upgrade Cordova Version of an iOS app

后端 未结 3 897
北恋
北恋 2020-12-12 00:32

How can I transfer a Cordova iOS app from one PC to other? The app is made in some other version of Cordova and I want to upgrade its Cordova version.

3条回答
  •  醉话见心
    2020-12-12 01:28

    With the newer versions of Cordova this process has been made much easier. The config.xml can now hold entries which specify the plugins and platforms your app will run. Look at this example. You can add these entries to your config.xml:

    
    
    
    
    
    
    

    When you run cordova platform prepare ios, if not already created, Cordova will fetch the missing platforms and plugins for you. This a good way to start building your app if not already started.

提交回复
热议问题