显示错误:
error: URLSessionTask failed with error: A server with the specified hostname could not be found.
-
创建时间
22年4月20日
-
最后回复
22年4月30日
- 4
回复
- 98
浏览
- 3
用户
- 1
赞
- 1
链接
显示错误:
error: URLSessionTask failed with error: A server with the specified hostname could not be found.
Swift SDK 支持 macOS 的。
您需要参考这个答案 https://stackoverflow.com/a/61981326 将项目的 sandbox 的网络选项配置一下,才能发出并接收网络请求。