How to add Swift framework to Cordova Plugin

33 Views Asked by At

"No such module error" occurred in cordova plugin during Swift build

The current configuration is like this

The framework I want to add is like this

enter image description here

How to add Swift framework to Cordova Plugin?

Here are the methods I tried:

  1. clean the build folder
  2. delete derieve Data folder
  3. change the framework's embed (embed&Sign, Do not embed => all try)
0

There are 0 best solutions below