Error: Error Domain=NSURLErrorDomain Code=-1001 “The request timed out.”

后端 未结 7 926
借酒劲吻你
借酒劲吻你 2020-11-29 08:02

I am working on an application in Xcode 6.1, iOS 8.1; the application was working completely fine till 2 days before, but today as I executed it I got an error in the web se

7条回答
  •  生来不讨喜
    2020-11-29 08:48

    There was no issue in the code. I guess the simulator internally was not able to connect to the internet, so that is why it was not able to connect to the server after providing various timeout intervals. But it worked completely fine when I executed another day. Thanks to @Andrew Jaffee for helping me to find this issue.

提交回复
热议问题