cordovacocoapodsvisual-studio-app-center

How to change deployment target in Cordova


I have a plugin that requires a higher deployment target than 8.0. I can change my pod file but Cordova always changes it back. Is there a way to set that? I tried:

<preference name="deployment-target" value="10.0" />

in config.xml.

My problem is that I always get this on install: enter image description here

Which results in: enter image description here


Solution

  • So even though

    cordova plugin list 
    

    showed the plugins added, they actually were not in the folder. The only one there was cordova-plugin-appcenter-shared so I deleted it from both plugin folders and re ran

    cordova plugin add cordova-plugin-appcenter-analytics 
    

    and everything installed correctly.