开发者

error when running chat app on simulator xcode iphone [closed]

开发者 https://www.devze.com 2023-04-04 07:52 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am working on xmpp for jabber client on iPhone specifying server name as gmail.com. When I run it on iPhone it works ok giving all the available friends list but when I run it on simulator it gives me an error on console:

Error Domain=kCFStreamErrorDomainNetDB Code=8 "nodename nor servname provided, or not known" UserInfo=0x4f7bbb0 {NSLocalizedDescriptio开发者_如何学运维n=nodename nor servname provided, or not known}.

Also I can't debug it neither on iPhone nor on simulator.

Any help would be appreciated.

0

精彩评论

暂无评论...
验证码 换一张
取 消