1
只是一個與iOS7.1客戶端設備的iPhone4s,我們有堆棧崩潰:NSURLSession崩潰
Thread : Crashed: com.apple.NSURLSession-work
0 CoreFoundation 0x2d6419be CFURLCopyScheme + 49
1 CFNetwork 0x2d30b67d _urlIsHTTPish + 8
2 CFNetwork 0x2d30b67d _urlIsHTTPish + 8
3 CFNetwork 0x2d31f725 URLRequest::addOverridingSessionAttributes(_CFURLSessionConfiguration*) + 216
4 CFNetwork 0x2d374eb9 ClassicConnectionSession::createConnectionWithProperties(_CFURLRequest const*, __CFDictionary const*) const + 552
5 CFNetwork 0x2d35697d __73-[__NSCFLocalSessionBridge downloadTaskForRequest:resumeData:completion:]_block_invoke + 196
6 libdispatch.dylib 0x3844081f _dispatch_client_callout + 22
7 libdispatch.dylib 0x384467cb _dispatch_barrier_sync_f_invoke + 26
8 CFNetwork 0x2d2fbd89 -[__NSCFLocalSessionTask resume] + 100
有沒有人有這個?
編輯: 重複問題:Asynchronous downloading in UICollectionView error with AFNetworking
CFURLCopyScheme墜毀CFURL傳遞給此方法是零,iOS7不檢查URL傳遞給NSURLSessionDownloadTask是有效的。
檢查:
1)NSURL傳遞到請求downloadTaskWithRequest不是零
2)NSURL不包含無效字符,例如:
% |{}><"\`