Can't receive ios xmppframework message?

It seems the xmppframework send noraml message whitout the jid resourcepart in “to” element , so the asmack can’t receive the message.

My sever is : ejabberd

The xmppframework message:

Hello World!****

**But the xmppframework can receive asmack message.
**

It seems the xmppframework send noraml message whitout the jid resourcepart in “to” element ,
Which is perfectly fine

so the asmack can’t receive the message.
That implication comes out of nowhere and I don’t see why this should be true.

Your message is addressed to a bare JID and is therefore routed by the server as such. It may gets routed to different resource.

I also think the message should routed to different resouce , but actually not.

I use the xmppframework to send this message to a bare JID, and no message got in android client. But if i add the resource part to the bare JID manually , the message did received in android client.