Search code examples
swift2ios9ejabberdxmppframeworkxcode7.2

how to create jabberd xmpp client in ios9 using swift2


enter image description hereI am following this link https://github.com/processone/xmpp-messenger-ios

but am getting couple of errors which are as follows

1.Could not build ObjectiveC module 'XMPPFramework'

2.CocoaAsyncSocket/GCDAsyncSocket.h file not found.

I have tried out ways such as

Built Setting on your project, then setting it like

User Header Search Paths = $(SRCROOT) // recursive. Always Search User Paths = YES

But still errors persist. Please help


Solution

  • To build the project, you need to have Cocoapods installed.

    Then, you can check out the latest version of the project with Xcode 7.2.1 and open Example/xmpp-messenger-ios.xcworkspace

    On first build all dependencies should be properly downloaded, but you need to use workspace and not project with Cocoapods.