Is it possible to automate build settings in a Cordova iOS plugin?
I need to add the "header search path" and linker flag to the Xcode assembly when the plugin is installed. Can I manage build settings in plugin.xml file to automate the process?
Specifically, I want to add $(SDKROOT)/usr/include/libxml2
to "Title Search Paths" and -lxml2
"Other Linker Flags"
+3
Joe beuckman
source
to share
1 answer
You can add the library as a source file:
<source-file src="libxml2.a" framework="true" />
But it is currently not possible to automatically set the linker flag sorry.
0
Ally
source
to share