2014-01-21 21:20:46.022 oauthMailru[8228:70b] -[ViewController viewDidLoad]: req= { URL: https://connect.mail.ru/oauth/authorize?response_type=token&display=touch&client_id=715360&redirect_uri=http://connect.mail.ru/oauth/success.html } 2014-01-21 21:20:47.850 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: url=https://connect.mail.ru/oauth/authorize?response_type=token&display=touch&client_id=715360&redirect_uri=http://connect.mail.ru/oauth/success.html 2014-01-21 21:20:47.859 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: (null) (null) 2014-01-21 21:21:03.725 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: url=https://auth.mail.ru/cgi-bin/auth 2014-01-21 21:21:03.726 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: (null) (null) 2014-01-21 21:21:10.119 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: url=http://connect.mail.ru/oauth/success.html#refresh_token=7926a1f0e7deabd7289d9a08dc783263&expires_in=86400&access_token=5699f3ba2e9bd718d3e183dc7124721c&token_type=bearer&x_mailru_vid=17880121030128875114 2014-01-21 21:21:10.120 oauthMailru[8228:70b] -[ViewController extractValueFrom:ForKey:]: value=5699f3ba2e9bd718d3e183dc7124721c 2014-01-21 21:21:10.120 oauthMailru[8228:70b] -[ViewController extractValueFrom:ForKey:]: value=17880121030128875114 2014-01-21 21:21:10.120 oauthMailru[8228:70b] -[ViewController webViewDidFinishLoad:]: 5699f3ba2e9bd718d3e183dc7124721c 17880121030128875114 2014-01-21 21:21:10.121 oauthMailru[8228:70b] -[ViewController fetchMailruWithToken:ForUser:]: url=http://www.appsmail.ru/platform/api?app_id=715360&method=users.getInfo&session_key=5699f3ba2e9bd718d3e183dc7124721c&uids=17880121030128875114&sig=01d96ad05cd404162553c4aae60bd763 2014-01-21 21:21:10.871 oauthMailru[8228:3307] dict=( { age = 41; "app_installed" = 1; birthday = "08.06.1972"; "first_name" = Alexander; "friends_count" = 17; "has_pic" = 1; "is_friend" = 0; "is_online" = 0; "is_verified" = 1; "last_name" = Farber; "last_visit" = 1390312557; link = "http://my.mail.ru/mail/farber72/"; location = { city = { id = 855; name = "\U0414\U044e\U0441\U0441\U0435\U043b\U044c\U0434\U043e\U0440\U0444"; }; country = { id = 46; name = "\U0413\U0435\U0440\U043c\U0430\U043d\U0438\U044f"; }; }; nick = "Alexander Farber"; pic = "http://avt.appsmail.ru/mail/farber72/_avatar"; "pic_128" = "http://avt.appsmail.ru/mail/farber72/_avatar128"; "pic_180" = "http://avt.appsmail.ru/mail/farber72/_avatar180"; "pic_190" = "http://avt.appsmail.ru/mail/farber72/_avatar190"; "pic_22" = "http://avt.appsmail.ru/mail/farber72/_avatar22"; "pic_32" = "http://avt.appsmail.ru/mail/farber72/_avatar32"; "pic_40" = "http://avt.appsmail.ru/mail/farber72/_avatar40"; "pic_50" = "http://avt.appsmail.ru/mail/farber72/_avatar50"; "pic_big" = "http://avt.appsmail.ru/mail/farber72/_avatarbig"; "pic_small" = "http://avt.appsmail.ru/mail/farber72/_avatarsmall"; "referer_id" = ""; "referer_type" = ""; sex = 0; "show_age" = 1; "status_text" = "preferans.de"; uid = 17880121030128875114; vip = 0; } ) 2014-01-21 21:21:10.873 oauthMailru[8228:3307] -[__NSArrayM objectForKeyedSubscript:]: unrecognized selector sent to instance 0x8a97290 2014-01-21 21:21:10.875 oauthMailru[8228:3307] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM objectForKeyedSubscript:]: unrecognized selector sent to instance 0x8a97290' *** First throw call stack: ( 0 CoreFoundation 0x01aa65e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x018298b6 objc_exception_throw + 44 2 CoreFoundation 0x01b43903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275 3 CoreFoundation 0x01a9690b ___forwarding___ + 1019 4 CoreFoundation 0x01a964ee _CF_forwarding_prep_0 + 14 5 oauthMailru 0x00003a62 __47-[ViewController fetchMailruWithToken:ForUser:]_block_invoke + 402 6 Foundation 0x01545695 __67+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]_block_invoke_2 + 151 7 Foundation 0x014a5945 -[NSBlockOperation main] + 88 8 Foundation 0x014fe829 -[__NSOperationInternal _start:] + 671 9 Foundation 0x0147b558 -[NSOperation start] + 83 10 Foundation 0x01500af4 __NSOQSchedule_f + 62 11 libdispatch.dylib 0x021344b0 _dispatch_client_callout + 14 12 libdispatch.dylib 0x02121018 _dispatch_async_redirect_invoke + 202 13 libdispatch.dylib 0x021344b0 _dispatch_client_callout + 14 14 libdispatch.dylib 0x02122eeb _dispatch_root_queue_drain + 287 15 libdispatch.dylib 0x02123137 _dispatch_worker_thread2 + 39 16 libsystem_pthread.dylib 0x024c0dab _pthread_wqthread + 336 17 libsystem_pthread.dylib 0x024c4cce start_wqthread + 30 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)