0
votes

Got error message "ionic failed to restore plugin from config.xml Cannot find module '../cordova/platform_metadata'" when building .ipa file.

All plugins are updated, tried downgrade to Cordova 7.1.0, doesn't work.

Only happened to ios, Android builds fine.

Here is the ionic info Ionic:

ionic (Ionic CLI) : 4.1.1

Ionic Framework : ionic-angular 3.9.2

@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 7.1.0

Cordova Platforms : android 6.3.0, ios 4.5.4

Cordova Plugins : not available

System:

NodeJS : v6.11.5 (C:\Program Files\nodejs\node.exe)

npm : 2.15.12

OS : Windows 10

Could anybody help?

1
the actual same thing happens to me. Are you solve this issue? - Amr Abdalrahman

1 Answers

-1
votes

try this

ionic cordova platforms rm ios
ionic cordova plugins rm cordova-plugin-swift-support
ionic cordova plugins add cordova-plugin-add-swift-support
ionic cordova platforms add ios

This should help you and solve your problem.