This question is locked. New answers and comments are not allowed.
hi guys.
i am not sure if this post related to this thread.
i am trying to create cordova plugin which use xmpp protocol in ios.
to android i created one and it works just fine (still need some tuning but at least work).
in objective-c its a lot of different struggle. i use robbie hanson xmppFramework( https://github.com/robbiehanson/XMPPFramework) and manage to create a static library that i can use from the plugin. the problem start with the dependency in libxml2 and other dynamic libraries. following cordova plugin specs ( http://docs.phonegap.com/en/3.4.0/plugin_ref_spec.md.html#Plugin%20Specification) i managed to create plugin which import the framework i have create and also the dynamic libraries that should be include. but the problem is that libxml2 need a special XCODE config set: seting header search paths to "/usr/include/libxml2".
as a user of AppBuilder i does not have any access to xcode( i have but i prefer using appbuuilder) to set this header path so basically i am asking if there is option to set headers search paths from plugin.xml file or maybe an compiler flag which can set this option on target?
thanks for reading and helping.
best regards .
maor
i am not sure if this post related to this thread.
i am trying to create cordova plugin which use xmpp protocol in ios.
to android i created one and it works just fine (still need some tuning but at least work).
in objective-c its a lot of different struggle. i use robbie hanson xmppFramework( https://github.com/robbiehanson/XMPPFramework) and manage to create a static library that i can use from the plugin. the problem start with the dependency in libxml2 and other dynamic libraries. following cordova plugin specs ( http://docs.phonegap.com/en/3.4.0/plugin_ref_spec.md.html#Plugin%20Specification) i managed to create plugin which import the framework i have create and also the dynamic libraries that should be include. but the problem is that libxml2 need a special XCODE config set: seting header search paths to "/usr/include/libxml2".
as a user of AppBuilder i does not have any access to xcode( i have but i prefer using appbuuilder) to set this header path so basically i am asking if there is option to set headers search paths from plugin.xml file or maybe an compiler flag which can set this option on target?
thanks for reading and helping.
best regards .
maor