Integrate Mosquitto latest Library in Xcode

I need to integrate Mosquitto library to my iOS Project. As the library is in "C". I am getting lot of errors related to Compiler.

Can anyone suggest me how to integrate C code in iOS Project.

Answers


The problem is with Header search path and Library search path. As Mosquito library uses Openssl. You have to set Header search as well as Library search path to make it working.


Need Your Help

XMPPFramework does not send keep alive in background even with enableBackgroundingOnSocket set to TRUE

ios xmppframework tcpsocket backgrounding uibackgroundtask

I think the title is illustrating enough. I want XMPPFramework to work ( like a service ) in background and receive messages even when app is not in active state. I have set