iOS Error Code=-1003 “A server with the specified hostname could not be found.”

前端 未结 5 1494
花落未央
花落未央 2021-02-07 01:41

I am trying to load image from URL on the iphone, image is there and I can open it in safari with same link, but not in the app:

Error Domain=NSURLErrorDomain Co         


        
5条回答
  •  梦如初夏
    2021-02-07 01:56

    In my case, when I connect the signing team account to Xcode it was automatically switch on the App Sandbox in Capabilities. When I turn off it I could do server request without any problems.

提交回复
热议问题