0xced/XCDYouTubeKit

Crash App on [XCDYouTubeClient getVideoWithIdentifier:cookies:customPatterns:completionHandler:]

Alanko5 opened this issue · 1 comments

I request the video .getVideoWithIdentifier(youtubeID).
Then completition block crashed at:
__84-[XCDYouTubeClient getVideoWithIdentifier:cookies:customPatterns:completionHandler:]_block_invoke_2

XCDYouTubeKit v.2.14.0

Thread 0
0  CoreFoundation    ___exceptionPreprocess
1  libobjc.A.dylib   _objc_exception_throw
2  CoreFoundation    +[NSException raise:format:arguments:]
3  Foundation        -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4  MeApp              __84-[XCDYouTubeClient getVideoWithIdentifier:cookies:customPatterns:completionHandler:]_block_invoke_2 (MeApp)
5  Foundation        ___NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
6  Foundation        -[NSBlockOperation main]
7  Foundation        ___NSOPERATION_IS_INVOKING_MAIN__
8  Foundation        -[NSOperation start]
9  Foundation        ___NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
10 Foundation        ___NSOQSchedule_f
11 libdispatch.dylib __dispatch_block_async_invoke2
12 libdispatch.dylib __dispatch_client_callout
13 libdispatch.dylib __dispatch_main_queue_callback_4CF
14 CoreFoundation    ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
15 CoreFoundation    ___CFRunLoopRun
16 CoreFoundation    _CFRunLoopRunSpecific
17 GraphicsServices  _GSEventRunModal
18 UIKitCore         -[UIApplication _run]
19 UIKitCore         _UIApplicationMain
20 MeApp              main (AppDelegate.swift:20:7)
21 libdyld.dylib     _start

Please update to v2.15.0 which fixes this issue.