Lots of features.
Try adding breakpoints to xmppStreamDidConnect and xmppStreamDidAuthenticate .
If xmppStreamDidConnect not reached, the connection is not established; You must correct your host name.
If xmppStreamDidAuthenticate not reached, the user is not authenticated; You must correct your credentials, i.e. username and / or password.
One common mistake is the @domainname exception at the end of the username, i.e. username@domainname , for example. keithoys@openfireserver , where the domain name is openfireserver .
source share