Firebase下载错误Error Domain = FIRStorageErrorDomain代码= -13000

时间:2018-11-02 03:39:00

标签: ios objective-c firebase firebase-storage

我正在尝试从Firebase下载数据,仅在iOS 8设备上失败,其他设备运行良好,出现此错误:

  

Firebase下载错误错误域= FIRStorageErrorDomain代码= -13000“发生未知错误,请检查服务器响应。” UserInfo = 0x1471bf10 {ResponseErrorDomain = NSURLErrorDomain,NSErrorFailingURLKey = https://firebasestorage.googleapis.com/v0/b/api-project-xxxxxxxxxxx.appspot.com/o/xxxxxxxxxxxxxxxxx%2Fdata.xx?alt=media,object = xxxxxxxxxxxxxxxxx / data.xx,NSErrorFailingURLStringKey = https://firebasestorage.googleapis.com/v0/b/api-project-xxxxxxxxxxxx.appspot.com/o/xxxxxxxxxxxxxxxxxx%2Fdata.xx?alt=media,ResponseErrorCode = -1100,bucket = api-project-xxxxxxxxxxxxx.appspot.com,NSLocalizedDescription =发生未知错误,请检查服务器响应。}

这是我的代码:

    FIRStorageReference *islandRef = [[self class] firebaseStorageReference];
    NSURL *localURL = [NSURL fileURLWithPath:DocumentPath(kFIREBASE_STORAGE_NAME)];
    __weak typeof(PCMergeHandler*) weakSelf = self;
    self.storageTask = [islandRef writeToFile:localURL completion:^(NSURL *URL, NSError *error){

    }];

任何提供的帮助将不胜感激。

0 个答案:

没有答案