0

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

Anand Yadav
  • 479
  • 5
  • 17

1 Answers1

0

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.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
  • Yes i have cocoa pods installed. All dependencies are downloaded properly and installed. And i am using workspace. But can you please suggest the Fixes/Steps to avoid above errors. – Anand Yadav Mar 21 '16 at 09:38
  • 1.Could not build ObjectiveC module 'XMPPFramework' 2.CocoaAsyncSocket/GCDAsyncSocket.h file not found. – Anand Yadav Mar 21 '16 at 09:43
  • Then if you load workspace it should build fine. I tried from scratch and all went fine. – Mickaël Rémond Mar 21 '16 at 09:43
  • can you suggest fixes for https://github.com/processone/xmpp-messenger-ios/issues/43. As issues faced by me are similar. – Anand Yadav Mar 28 '16 at 05:18