Skip to content

How to write a build script to change framework from "Do not Embed" to "Embed and sign" #477

Closed Answered by breautek
majeed-platogo asked this question in Q&A
Discussion options

You must be logged in to vote

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 using cordova-ios@^7.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@majeed-platogo
Comment options

Answer selected by majeed-platogo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants