Parse error in existing project - ios

I see this error when I try to initialize parse with app key and client key.
2015-10-08 13:29:56.484 My wish List[7892:4257341] -[ParseManager initWithApplicationId:clientKey:]: unrecognized selector sent to instance 0x7fe86ac35ef0
2015-10-08 13:29:56.491 My wish List[7892:4257341] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ParseManager initWithApplicationId:clientKey:]: unrecognized selector sent to instance 0x7fe86ac35ef0'
*** First throw call stack:
(
0 CoreFoundation 0x00000001045bef65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000104038deb objc_exception_throw + 48
2 CoreFoundation 0x00000001045c758d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000104514f7a ___forwarding___ + 970
4 CoreFoundation 0x0000000104514b28 _CF_forwarding_prep_0 + 120
5 My wish List 0x00000001026c7d5f +[Parse setApplicationId:clientKey:] + 212
6 My wish List 0x000000010266d07d -[AppDelegate application:didFinishLaunchingWithOptions:] + 109
7 UIKit 0x00000001049624ca -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 272
8 UIKit 0x0000000104963670 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3415
9 UIKit 0x0000000104969e15 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1755
10 UIKit 0x0000000104966ff0 -[UIApplication workspaceDidEndTransaction:] + 188
11 FrontBoardServices 0x000000010c7847ac -[FBSSerialQueue _performNext] + 192
12 FrontBoardServices 0x000000010c784b1a -[FBSSerialQueue _performNextFromRunLoopSource] + 45
13 CoreFoundation 0x00000001044eb0a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
14 CoreFoundation 0x00000001044e0fcc __CFRunLoopDoSources0 + 556
15 CoreFoundation 0x00000001044e0483 __CFRunLoopRun + 867
16 CoreFoundation 0x00000001044dfe98 CFRunLoopRunSpecific + 488
17 UIKit 0x000000010496698d -[UIApplication _run] + 402
18 UIKit 0x000000010496b676 UIApplicationMain + 171
19 My wish List 0x000000010266d30f main + 111
20 libdyld.dylib 0x0000000105f0292d start + 1
21 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Related

IOS Swift, Google SignIn run time error at GIDSignIn.sharedInstance().clientID

I am trying to implement Google SignIn in my iOS project and getting runtime error at line:
GIDSignIn.sharedInstance().clientID = "mysecrectkey.apps.googleusercontent.com"
in AppDelegate. Error I am getting is something like below. I followed each step which is mentioned in following link and still no luck.
http://www.theappguruz.com/blog/integrate-google-signin-sdk-in-ios-application-using-swift
I tried adding -ObjC in Other Linker Flags section as well. Please help me to figure this out. Thanks
2016-10-09 17:16:57.754 GoogleLoginTest1[8996:611837] -[__NSDictionaryI gtm_httpArgumentsString]: unrecognized selector sent to instance 0x618000071a80
2016-10-09 17:16:57.758 GoogleLoginTest1[8996:611837] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryI gtm_httpArgumentsString]: unrecognized selector sent to instance 0x618000071a80'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ce2234b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010c46621e objc_exception_throw + 48
2 CoreFoundation 0x000000010ce91f34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010cda7c15 ___forwarding___ + 1013
4 CoreFoundation 0x000000010cda7798 _CF_forwarding_prep_0 + 120
5 GoogleLoginTest1 0x000000010bb4272e -[GSDK_GTMSessionFetcherSessionDelegateDispatcher .cxx_destruct] + 11318
6 GoogleLoginTest1 0x000000010bb44551 -[GSDK_GTMSessionFetcherSessionDelegateDispatcher .cxx_destruct] + 19033
7 GoogleLoginTest1 0x000000010bb43fc4 -[GSDK_GTMSessionFetcherSessionDelegateDispatcher .cxx_destruct] + 17612
8 GoogleLoginTest1 0x000000010bb223ed _TFC16GoogleLoginTest111AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb + 685
9 GoogleLoginTest1 0x000000010bb22594 _TToFC16GoogleLoginTest111AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb + 180
10 UIKit 0x000000010da4068e -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
11 UIKit 0x000000010da42013 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
12 UIKit 0x000000010da483b9 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
13 UIKit 0x000000010da45539 -[UIApplication workspaceDidEndTransaction:] + 188
14 FrontBoardServices 0x00000001131ac76b __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
15 FrontBoardServices 0x00000001131ac5e4 -[FBSSerialQueue _performNext] + 189
16 FrontBoardServices 0x00000001131ac96d -[FBSSerialQueue _performNextFromRunLoopSource] + 45
17 CoreFoundation 0x000000010cdc7311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18 CoreFoundation 0x000000010cdac59c __CFRunLoopDoSources0 + 556
19 CoreFoundation 0x000000010cdaba86 __CFRunLoopRun + 918
20 CoreFoundation 0x000000010cdab494 CFRunLoopRunSpecific + 420
21 UIKit 0x000000010da43db6 -[UIApplication _run] + 434
22 UIKit 0x000000010da49f34 UIApplicationMain + 159
23 GoogleLoginTest1 0x000000010bb24cdf main + 111
24 libdyld.dylib 0x000000010fc4d68d start + 1
25 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
have you added Other linker flag : -OjcC

iOS - Crash with google admob SDK after upgraded to v7.7.0

We upgraded google admob v7.5.1 to v7.7.0 through pod file. After upgrade app crash on launching with following log.
2016-03-21 12:17:47.065 myAppName[3672:83997] -[NSTaggedPointerString count]: unrecognized selector sent to instance 0xa0110632e20924c9
2016-03-21 12:17:47.119 myAppName[3672:83997] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance 0xa0110632e20924c9'
*** First throw call stack:
(
0 CoreFoundation 0x000000010a3e8e65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000109e5fdeb objc_exception_throw + 48
2 CoreFoundation 0x000000010a3f148d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010a33e90a ___forwarding___ + 970
4 CoreFoundation 0x000000010a33e4b8 _CF_forwarding_prep_0 + 120
5 CoreFoundation 0x000000010a300e84 -[NSSet initWithArray:] + 36
6 myAppName 0x000000010579e66e hasRequiredParams + 19102
7 myAppName 0x000000010579c3a3 hasRequiredParams + 10195
8 myAppName 0x000000010579c1fc hasRequiredParams + 9772
9 myAppName 0x000000010579c048 hasRequiredParams + 9336
10 myAppName 0x000000010573ad87 GADiTunesMetadataForFileAtPath + 2024
11 myAppName 0x000000010573a7d2 GADiTunesMetadataForFileAtPath + 563
12 Foundation 0x0000000106d07790 -[__NSObserver _doit:] + 304
13 CoreFoundation 0x000000010a3b569c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
14 CoreFoundation 0x000000010a3b53db _CFXRegistrationPost + 427
15 CoreFoundation 0x000000010a3b5142 ___CFXNotificationPost_block_invoke + 50
16 CoreFoundation 0x000000010a3fa972 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1986
17 CoreFoundation 0x000000010a2b0279 _CFXNotificationPost + 633
18 Foundation 0x0000000106ceb109 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
19 UIKit 0x0000000107cb06f0 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4272
20 UIKit 0x0000000107cb6cc6 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1760
21 UIKit 0x0000000107cb3e7b -[UIApplication workspaceDidEndTransaction:] + 188
22 FrontBoardServices 0x000000010bcdf754 -[FBSSerialQueue _performNext] + 192
23 FrontBoardServices 0x000000010bcdfac2 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
24 CoreFoundation 0x000000010a314a31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25 CoreFoundation 0x000000010a30a95c __CFRunLoopDoSources0 + 556
26 CoreFoundation 0x000000010a309e13 __CFRunLoopRun + 867
27 CoreFoundation 0x000000010a309828 CFRunLoopRunSpecific + 488
28 UIKit 0x0000000107cb37cd -[UIApplication _run] + 402
29 UIKit 0x0000000107cb8610 UIApplicationMain + 171
30 myAppName 0x00000001055b4c7e main + 62
31 libdyld.dylib 0x000000010a8d492d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Application get crash on launch

My application get crash on launch . It never goes on app didfinish
2015-10-09 15:41:55.396 MÖLLER[11840:574331] Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack: ( 0 CoreFoundation 0x026cc746 __exceptionPreprocess + 182 1 libobjc.A.dylib
0x01f9ca97 objc_exception_throw + 44 2 CoreFoundation
0x025c2c93 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
+ 451 3 CoreFoundation 0x025d6b7b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 75 4 MOÃàLLER 0x0004d65b -[TabBarViewController
viewDidLoad] + 3291 5 UIKit
0x00a97db7 -[UITabBarController initWithNibName:bundle:] + 221 6
MOÃàLLER 0x0008984d -[AppDelegate
application:didFinishLaunchingWithOptions:] + 268 7 UIKit
0x008e5f87 -[UIApplication
_handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 287 8 UIKit 0x008e6d71 -[UIApplication
_callInitializationDelegatesForMainScene:transitionContext:] + 2938 9 UIKit 0x008ea3d2 -[UIApplication
_runWithMainScene:transitionContext:completion:] + 1639 10 UIKit 0x009038ee _84-[UIApplication
handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke
+ 59 11 UIKit 0x008e8ffa -[UIApplication workspaceDidEndTransaction:] + 155 12 FrontBoardServices 0x03208c9e __37-[FBSWorkspace
clientEndTransaction:]_block_invoke_2 + 71 13 FrontBoardServices
0x0320872f _40-[FBSWorkspace performDelegateCallOut:]_block_invoke +
54 14 FrontBoardServices 0x0321ad7c
__31-[FBSSerialQueue performAsync:]_block_invoke_2 + 30 15 CoreFoundation 0x025ee050
CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 16 16 CoreFoundation
0x025e3963 __CFRunLoopDoBlocks + 195 17 CoreFoundation
0x025e37bb __CFRunLoopRun + 2715 18 CoreFoundation
0x025e2a5b CFRunLoopRunSpecific + 443 19 CoreFoundation
0x025e288b CFRunLoopRunInMode + 123 20 UIKit
0x008e89b2 -[UIApplication _run] + 571 21 UIKit
0x008ec0b6 UIApplicationMain + 1526 22 MOÃàLLER
0x0006a509 main + 94 23 libdyld.dylib
0x03fe1ac9 start + 1 ) libc++abi.dylib: terminating with uncaught
exception of type NSException (lldb)
the error says
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
The error means you are trying to put nil in the dictionary (which is not allowed). Since you are building the dictionaries with string literals those can't be nil.
Finally the issue is resolved. As My Home View Have Ref of Font which we never used in app.

App Crashes (Sometimes) when Home Button is Pressed

I am really confused as to why this is happening.
Since this happened randomly
Here is the stacktrace, I have not been able to figure it out.
Please help
Thanks
2015-03-30 15:12:50.817 MarcoApp[1857:23629] -[NSIBPrototypingLayoutConstraint finishedLoading]: unrecognized selector sent to instance 0x7f929ccc8cf0
2015-03-30 15:12:50.908 MarcoApp[1857:23629] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSIBPrototypingLayoutConstraint finishedLoading]: unrecognized selector sent to instance 0x7f929ccc8cf0'
*** First throw call stack:
(
0 CoreFoundation 0x000000010aa74a75 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010a333bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010aa7bd1d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010a9d39dc ___forwarding___ + 988
4 CoreFoundation 0x000000010a9d3578 _CF_forwarding_prep_0 + 120
5 CoreFoundation 0x000000010aa447fc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
6 CoreFoundation 0x000000010a944204 _CFXNotificationPost + 2484
7 Foundation 0x0000000109e8ddf8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
8 UIKit 0x000000010b73baa7 -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:] + 1054
9 UIKit 0x000000010b748833 __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 87
10 UIKit 0x000000010b7487cd -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 349
11 UIKit 0x000000010b73345a -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 486
12 FrontBoardServices 0x00000001115ae243 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
13 CoreFoundation 0x000000010a9a9c7c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
14 CoreFoundation 0x000000010a99f9c5 __CFRunLoopDoBlocks + 341
15 CoreFoundation 0x000000010a99f785 __CFRunLoopRun + 2389
16 CoreFoundation 0x000000010a99ebc6 CFRunLoopRunSpecific + 470
17 GraphicsServices 0x000000010e89ca58 GSEventRunModal + 161
18 UIKit 0x000000010b735580 UIApplicationMain + 1282
19 MarcoApp 0x0000000109184afe top_level_code + 78
20 MarcoApp 0x0000000109184bda main + 42
21 libdyld.dylib 0x000000010ee2b145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
hard to tell without seeing your code but "unrecognized selector sent to instance" implies you have a method the requires a selector (name of a function) as a parameter and that methods got an invalid selector (the name of the function is wrong).
not sure but ther is any method in
- (void)applicationWillResignActive:(UIApplication *)application
which does not have selector thats why you app crash

Signal 1 SIGARBT Crash (PlaySound?)

I started getting this error when I tried to make a button play a sound. I'm not getting a code errors (Red or Yellow markers) but my app crashes when I click the button.
Here's what the console outputs:
2014-05-12 20:24:59.866 ReAct[4511:60b] -[ViewController PlayAudioBUtton:]: unrecognized selector sent to instance 0x9059280
2014-05-12 20:24:59.875 ReAct[4511:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ViewController PlayAudioBUtton:]: unrecognized selector sent to instance 0x9059280'
*** First throw call stack:
(
0 CoreFoundation 0x01c6c1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x019eb8e5 objc_exception_throw + 44
2 CoreFoundation 0x01d09243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x01c5c50b ___forwarding___ + 1019
4 CoreFoundation 0x01c5c0ee _CF_forwarding_prep_0 + 14
5 libobjc.A.dylib 0x019fd880 -[NSObject performSelector:withObject:withObject:] + 77
6 UIKit 0x006ad3b9 -[UIApplication sendAction:to:from:forEvent:] + 108
7 UIKit 0x006ad345 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
8 UIKit 0x007aebd1 -[UIControl sendAction:to:forEvent:] + 66
9 UIKit 0x007aefc6 -[UIControl _sendActionsForEvents:withEvent:] + 577
10 UIKit 0x007ae243 -[UIControl touchesEnded:withEvent:] + 641
11 UIKit 0x006ecddd -[UIWindow _sendTouchesForEvent:] + 852
12 UIKit 0x006ed9d1 -[UIWindow sendEvent:] + 1117
13 UIKit 0x006bf5f2 -[UIApplication sendEvent:] + 242
14 UIKit 0x006a9353 _UIApplicationHandleEventQueue + 11455
15 CoreFoundation 0x01bf577f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
16 CoreFoundation 0x01bf510b __CFRunLoopDoSources0 + 235
17 CoreFoundation 0x01c121ae __CFRunLoopRun + 910
18 CoreFoundation 0x01c119d3 CFRunLoopRunSpecific + 467
19 CoreFoundation 0x01c117eb CFRunLoopRunInMode + 123
20 GraphicsServices 0x031ac5ee GSEventRunModal + 192
21 GraphicsServices 0x031ac42b GSEventRun + 104
22 UIKit 0x006abf9b UIApplicationMain + 1225
23 ReAct 0x000020cd main + 141
24 libdyld.dylib 0x02996701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I think it's due to the first description:
"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ViewController PlayAudioBUtton:]: unrecognized selector sent to instance 0x9059280'"
But I'm unsure of what this means because I am new to Xcode and iOS coding alike.
Any help is greatly appreciated.

Resources