I tried adding XMPP framework into my ios project and I couldn't get it working. Turns out I added it incorrectly, So I tried removing it and now without XMPP I am getting these errors: Thanks in Advance!
This could also happen because of CocoaPods
. I had this issue with version cocoapods-0.39.0
, downgrading to cocoapods-0.38.2
fixed it for now.