Printing description of error:
Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x15e9b5a0 {NSErrorFailingURLStringKey=http://v0.api.upyun.com/mypetcantalk/, NSErrorFailingURLKey=http://v0.api.upyun.com/mypetcantalk/, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x15e9ab90 "The request timed out."}
(lldb)
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
推荐一个可以直接运行的试试,看是否可以:http://somefiles.b0.upaiyun.com/UpYunSDK2.0Demo.zip
楼主我也遇到了类似的情况
已经解决了只要在#define API_DOMAIN 最后加一个斜杠(/)即可