How to write a build script to change framework from "Do not Embed" to "Embed and sign" #477
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you want to use the framework tag instead. I have an example usage which does exactly what you want in an older plugin that I used to maintain: https://github.com/totalpaveinc/cordova-plugin-libsqlite/blob/main/plugin.xml#L22 It does require improvements added in cordova-ios 7. If I recall correctly, older versions it was impossible to embed AND link at the same time, because linking was always the inverse of embedding. The PR merged for 7.0.0 release effectively adds the |
Beta Was this translation helpful? Give feedback.
I think you want to use the framework tag instead.
I have an example usage which does exactly what you want in an older plugin that I used to maintain: https://github.com/totalpaveinc/cordova-plugin-libsqlite/blob/main/plugin.xml#L22
It does require improvements added in cordova-ios 7. If I recall correctly, older versions it was impossible to embed AND link at the same time, because linking was always the inverse of embedding. The PR merged for 7.0.0 release effectively adds the
link
directive allowing you to both embed and link. Therefore for this to work properly you'll also need to be usingcordova-ios@^7
.