ios - 解析错误 : A server with the specified hostname could not be found.

标签 ios swift cocoa-touch parse-platform

我目前正在测试使用 Parse.com 的身份验证系统制作的 iOS 应用程序。每当我尝试使用模拟器登录应用程序时,访问数据库都没有问题。但是,每当我使用 iPhone 6 登录该应用程序时,都会进行多次连接尝试,最后我收到以下错误:

[Error]: Network connection failed. Making attempt 2 after sleeping for 3.492912 seconds.
[Error]: A server with the specified hostname could not be found. 
(Code: 100, Version: 1.8.1)

我发现与此类似的唯一问题是“继续尝试”,最终它会起作用,但过去一周一直在发生这种情况。有什么想法吗?

最佳答案

显然重启 iPhone 会使错误消失,但不确定原因。如果有人想对此进行扩展,请随意,谢谢!

关于ios - 解析错误 : A server with the specified hostname could not be found.,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32977239/

相关文章:

ios - ABPeoplePickerNavigationControllerDelegate 中的 ABMultiValueIdentifier 未正确设置,这是 iOS 错误吗?

iphone - 当我在 iPad 上运行 iPhone 应用程序时,屏幕分辨率错误。如何解决这个问题?

iphone - iphone赛车游戏在cocos3d中

iphone - 在 iPhone 5 和 iPhone 4 的 xib 中处理不同尺寸的图像?

swift - 从 Reduce 获取任意类型

ios - 更改 View 框架原点会使其弹回原位

iphone - TableView :didSelectRowAtIndexPath:]: message sent to deallocated instance 0xebba1b0

iphone - 在 locationManager = nil 和 stopUpdatingLocation 调用后位置仍在监控

ios - 无法解析真实设备上的日期,可在模拟器中工作

iphone - 我可以在同一 View 上使用 setFrame 和自动布局吗?