iphone - You must set myJID before calling connect error -


i want implement 'openfire' server chat application. got source code on git @ https://github.com/rayaleen/openfireclient. on login button action shows me following error:

error connecting: error domain=xmppstreamerrordomain code=2 "you must set myjid before calling connect." userinfo=0x7a87c80 {nslocalizeddescription=you must set myjid before calling connect.} 

but not find document implement this. 1 have idea type of error? link documentation more helpful.

if u r using xmppframework ios, can find class named xmppjid , xmppstream. sure u had called xmppstream's instance method "connect" caused u said. there u can search variable instance ,for example named 'asteam',and search ur whole project sentence 'asteam connect'. if success ,what u need add 1 line before connet.it should be

[asteam setmyjid:[xmppjid jidwithstring:@"yourname@domain.com/resouse"]] 

if u don't know jid means please search xmpp's relative documents.

but not find document implement this.

just saw it,if u can't find introductions,i can give demo wrote ,and server setup myself.if need


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo