900Seconds / 900SecondsSDK

Live Streaming Video SDK for iOS
87 stars 39 forks source link

Getting the following issue #12

Open sanjeev1994 opened 7 years ago

sanjeev1994 commented 7 years ago

I am using the registration code. but i am getting the following error message

2017-03-02 23:55:17.759 Tryon[32815:7548145] -[NSCFString ext_toSelector]: unrecognized selector sent to instance 0x6080000535c0 2017-03-02 23:55:19.564 Tryon[32815:7548145] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString ext_toSelector]: unrecognized selector sent to instance 0x6080000535c0' First throw call stack: ( 0 CoreFoundation 0x000000010e3fbd4b exceptionPreprocess + 171 1 libobjc.A.dylib 0x000000010de5d21e objc_exception_throw + 48 2 CoreFoundation 0x000000010e46bf04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x000000010e381005 forwarding + 1013 4 CoreFoundation 0x000000010e380b88 _CF_forwarding_prep_0 + 120 5 Tryon 0x000000010c4579e1 apply_bitstream_filters + 55165 6 Tryon 0x000000010c457463 apply_bitstream_filters + 53759 7 libdispatch.dylib 0x00000001123530cd _dispatch_client_callout + 8 8 libdispatch.dylib 0x00000001123381f8 dispatch_once_f + 501 9 Tryon 0x000000010c45743b apply_bitstream_filters + 53719 10 Tryon 0x000000010c44aa33 apply_bitstream_filters + 1999 11 Tryon 0x000000010c3e7cfb -[AppDelegate application:didFinishLaunchingWithOptions:] + 267 12 UIKit 0x000000010f86c3c2 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290 13 UIKit 0x000000010f86dd47 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236 14 UIKit 0x000000010f8740ed -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731 15 UIKit 0x000000010f87126d -[UIApplication workspaceDidEndTransaction:] + 188 16 FrontBoardServices 0x000000011504d6cb FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 24 17 FrontBoardServices 0x000000011504d544 -[FBSSerialQueue _performNext] + 189 18 FrontBoardServices 0x000000011504d8cd -[FBSSerialQueue _performNextFromRunLoopSource] + 45 19 CoreFoundation 0x000000010e3a0761 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 20 CoreFoundation 0x000000010e38598c CFRunLoopDoSources0 + 556 21 CoreFoundation 0x000000010e384e76 CFRunLoopRun + 918 22 CoreFoundation 0x000000010e384884 CFRunLoopRunSpecific + 420 23 UIKit 0x000000010f86faea -[UIApplication _run] + 434 24 UIKit 0x000000010f875c68 UIApplicationMain + 159 25 Tryon 0x000000010c3e836f main + 111 26 libdyld.dylib 0x000000011239f68d start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

screen shot 2017-03-02 at 11 57 25 pm

Is there any solution for this.

IPv6 commented 7 years ago

I see... Stacktrace is not informative enough, can you try the following? 1) Download and run out example (https://github.com/900Seconds/900SecondsSDK/tree/master/Nine00SecondsSDKExample), i updated it today. Is it working? 2) If example working and your code not - can you enable "All Exceptions breakpoint" in XCode and run your app to crash again? It will stop app exactly where exception occured, not in the random upstream handler. And then post screenshot of the stack tree. Sorry for inconvinience