How to add a static library instead of a frame for the Cordova ios plugin?

I am creating a plugin that wraps an SDK provided with some more power.

And I wrote something like this:

<framework src="path/to/static-lib.a" custom="true" /> 

Cordoba configures Framework Search Paths in the Xcode Build settings, which is great, but it seems to me that I need Library Search Paths .

How can I write plugin.xml to add such a static library?

+6
source share
1 answer

Try

 <source-file src="srcpath/to/static-lib.a" framework="true" /> 
+14
source

Source: https://habr.com/ru/post/980232/


All Articles