I love you tobbe <3 cordova 6.5.0 ionic 2.2.1
I faced same issue for IOS.
I just removed ios platform and again added it worked for me
I think I caught the error in 2021: basically when you add a new plugin via npm it doesn’t download required dependencies. This is the case of HTTP Native which requires Cordova-plugin-file.
In fact after removing iOS platform and exec “ionic capacitor add ios” this is the output:
✔ add in 19.25ms
✔ Copying web assets from www to ios/App/public in 349.22ms
✔ Copying native bridge in 4.05ms
✔ Copying capacitor.config.json in 2.00ms
Found 3 Cordova plugins for ios
card.io.cordova.mobilesdk (2.1.0)
com.paypal.cordova.mobilesdk (3.5.0)
cordova-plugin-advanced-http (3.1.0)
✔ copy in 446.20ms
✔ Updating iOS plugins in 13.57ms
Found 0 Capacitor plugins for ios:
[info] installing missing dependency plugin cordova-plugin-file
✔ Updating iOS plugins in 20.76ms
Found 4 Cordova plugins for ios
card.io.cordova.mobilesdk (2.1.0)
com.paypal.cordova.mobilesdk (3.5.0)
cordova-plugin-advanced-http (3.1.0)
cordova-plugin-file (6.0.2)
✔ Updating iOS native dependencies with "pod install" (may take several minutes) in 4.81s
✔ update ios in 13.64s
look [info].
Bye!