模拟器调试是没问题的,真机用wifi就没问题,用蜂窝移动网络就一直发送数据失败,显示如下错误
2014-08-22 10:48:28.526 FlyingPig[6880:907] Failed to get location shift function: Error Domain=kCFErrorDomainCFNetwork Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x1fd563c0 {NSErrorFailingURLKey=https://gsp13-cn.ls.apple.com/shift, NSErrorFailingURLStringKey=https://gsp13-cn.ls.apple.com/shift, NSLocalizedDescription=A server with the specified hostname could not be found.}
如何解决呢?
2014-08-22 10:48:28.526 FlyingPig[6880:907] Failed to get location shift function: Error Domain=kCFErrorDomainCFNetwork Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x1fd563c0 {NSErrorFailingURLKey=https://gsp13-cn.ls.apple.com/shift, NSErrorFailingURLStringKey=https://gsp13-cn.ls.apple.com/shift, NSLocalizedDescription=A server with the specified hostname could not be found.}
如何解决呢?