tencentyun / qcloud-sdk-ios

腾讯云服务iOS终端SDK
http://qcloud.com
38 stars 26 forks source link

self.runOnService = nil #5

Closed WANGNEWMAN closed 6 years ago

WANGNEWMAN commented 6 years ago

2018-05-25 15:55:23.299285+0800 RoWrite[3656:1418626] * Assertion failure in -[QCloudGetObjectRequest prepareInvokeURLRequest:error:], /***/Pods/QCloudCore/QCloudCore/Classes/QCloudClientBase/Request/QCloudBizHTTPRequest.m:108

使用腾讯云SDK下载、上传图片的时候出现; 在断言处崩溃 QCloudBizHTTPRequest中108行 NSAssert(self.runOnService, @"RUN ON SERVICE is nil%@", self.runOnService);这个地方

EricCheungSCUT commented 6 years ago

请问当前SDK的版本号是多少,这个问题是在 GetObject 时候出现的吗,是每次 GetObject 都必现吗

EricCheungSCUT commented 6 years ago

还有就是,每次 GetObject 时是通过

[[QCloudCOSXMLService defaultCOSXML]  GetObject:getObjectRequest]

去调用的吗,还是通过自定义的服务

[[QCloudCOSXMLService cosxmlServiceForKey:@"custom-service-key"] GetObject:getObjectRequest]

希望如果可以提供一个可以复现这个问题的 Demo 或者代码片段,这个可以帮助我们更快的帮忙解决这个问题

EricCheungSCUT commented 6 years ago

Close because of inactive for a long time