Crash in Aviary SDK after integrating Google Analytics - ios

Recently I have integrated the Google Analytics framework in my iOS app . Before integration the Aviary is working fine but now Aviary is not working properly . I am using xcode 5 . The error is
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFPhotoEditorCustomization setEditorSettingsDefaults]: unrecognized selector sent to instance 0xc2164a0'
*** First throw call stack:
(
0 CoreFoundation 0x03c2b5e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x02e338b6 objc_exception_throw + 44
2 CoreFoundation 0x03cc8903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x03c1b90b ___forwarding___ + 1019
4 CoreFoundation 0x03c1b4ee _CF_forwarding_prep_0 + 14
5 VerizonCaseCustomizer 0x0022f436 -[AFPhotoEditorCustomization initWithDictionary:] + 192
6 VerizonCaseCustomizer 0x0022effb +[AFPhotoEditorCustomization options] + 198
7 VerizonCaseCustomizer 0x0022f32a +[AFPhotoEditorCustomization optionValueForKey:] + 58
8 VerizonCaseCustomizer 0x00222f16 +[AFLocalization isLocalizationDisabled] + 49
9 VerizonCaseCustomizer 0x001feaa1 AFLocalizedString + 52
10 VerizonCaseCustomizer 0x001c118d -[AFSDKViewController viewDidLoad] + 113
11 UIKit 0x007209a8 -[UIViewController loadViewIfRequired] + 696
12 UIKit 0x00720c44 -[UIViewController view] + 35
13 VerizonCaseCustomizer 0x0008ec37 -[verizonlibrary displayPhotoEditorWithImage:] + 2247
14 VerizonCaseCustomizer 0x0008def9 -[verizonlibrary facebookimageslater:] + 905
15 Foundation 0x0285d36c __NSFireDelayedPerform + 372
16 CoreFoundation 0x03be9c46 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
17 CoreFoundation 0x03be962d __CFRunLoopDoTimer + 1181
18 CoreFoundation 0x03bd1698 __CFRunLoopRun + 1816
19 CoreFoundation 0x03bd0b33 CFRunLoopRunSpecific + 467
20 CoreFoundation 0x03bd094b CFRunLoopRunInMode + 123
21 GraphicsServices 0x03b879d7 GSEventRunModal + 192
22 GraphicsServices 0x03b877fe GSEventRun + 104
23 UIKit 0x0060d94b UIApplicationMain + 1225
24 VerizonCaseCustomizer 0x0000611f main + 79
25 libdyld.dylib 0x0689970d start + 1
26 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Please let me know if I am not clear . Thanks in advance .

set -ObjC -all_load to other linker flags from build settings

You can also use the -force_load flag in other linker flags. You would do that by including the following in your other linker flags:
-force_load /path/to/AviarySDK.framework

Add linker flags
Update your target's (or project's) build settings to include the following "Other Linker Flags":
-ObjC
-all_load
Like this:

Related

NSInvalidArgumentException from OIDAuthorizationService when using google signin in SwiftUI

I'm having a terrible day with this unfamiliar error
2020-08-15 10:00:38.630941+0100 Wicrypt[44349:3718177] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[OIDAuthorizationService presentAuthorizationRequest:presentingViewController:callback:]: unrecognized selector sent to class 0x106b47af0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000107dfb4b2 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x0000000107a4b26e objc_exception_throw + 48
2 CoreFoundation 0x0000000107e09f12 __CFExceptionProem + 0
3 CoreFoundation 0x0000000107dff9e8 ___forwarding___ + 1479
4 CoreFoundation 0x0000000107e01a18 _CF_forwarding_prep_0 + 120
5 Wicrypt 0x0000000106aac8d2 -[GIDSignIn authenticateInteractivelyWithOptions:] + 626
6 Wicrypt 0x0000000106aacd5f -[GIDSignIn authenticateWithOptions:] + 74
7 Wicrypt 0x0000000106aac59a -[GIDSignIn signInWithOptions:] + 509
8 Wicrypt 0x0000000106aabde6 -[GIDSignIn signIn] + 64
9 Wicrypt 0x000000010671810b $s7Wicrypt18GoogleSignInScreenV4bodyQrvg7SwiftUI9TupleViewVyAE0J0PAEE5frame5width6height9alignmentQr12CoreGraphics7CGFloatVSg_AqE9AlignmentVtFQOyAE6SpacerV_Qo__AiEEAjklMQrAQ_AqStFQOyAE6VStackVyAGyAE4TextV_AZtGG_Qo_AuzE6ButtonVyAZGtGyXEfU_yycfU0_ + 91
10 SwiftUI 0x00000001095e1d91 $s7SwiftUI18WrappedButtonStyle33_AEEDD090E917AC57C12008D974DC6805LLV4BodyV4bodyQrvgyycAA09PrimitivedE13ConfigurationVcfu_yycfu0_TA + 17
11 SwiftUI 0x000000010989c000 $s7SwiftUI25PressableGestureCallbacksV8dispatch5phase5stateyycSgAA0D5PhaseOyxG_SbztFyycfU_ + 32
12 SwiftUI 0x0000000109657bac $sIeg_ytIegr_TR + 12
13 SwiftUI 0x00000001094dc901 $sIeg_ytIegr_TRTA + 17
14 SwiftUI 0x00000001094fbcd9 $sIeg_ytIegr_TRTA.1980 + 9
15 SwiftUI 0x0000000109657bcc $sytIegr_Ieg_TR + 12
16 SwiftUI 0x0000000109657bac $sIeg_ytIegr_TR + 12
17 SwiftUI 0x000000010964a791 $sIeg_ytIegr_TRTA + 17
18 SwiftUI 0x000000010964a044 $s7SwiftUI6UpdateO3endyyFZ + 436
19 SwiftUI 0x0000000109688a9d $s7SwiftUI19EventBindingManagerC4sendyySDyAA0C2IDVAA0C4Type_pGF + 301
20 SwiftUI 0x0000000109ac2a9c $s7SwiftUI18EventBindingBridgeC4send_6sourceySDyAA0C2IDVAA0C4Type_pG_AA0cD6Source_ptFTf4nen_nAA22UIKitGestureRecognizerC_Tg5 + 2060
21 SwiftUI 0x0000000109ac0782 $s7SwiftUI22UIKitGestureRecognizerC4send025_062C14327F4C9197D92807A7H6DF7F3BLL7touches5event5phaseyShySo7UITouchCG_So7UIEventCAA10EventPhaseOtF + 66
22 SwiftUI 0x0000000109ac15e3 $s7SwiftUI22UIKitGestureRecognizerC12touchesBegan_4withyShySo7UITouchCG_So7UIEventCtFToTm + 131
23 SwiftUI 0x0000000109ac0858 $s7SwiftUI22UIKitGestureRecognizerC12touchesEnded_4withyShySo7UITouchCG_So7UIEventCtFTo + 40
24 UIKitCore 0x000000011388b2f5 -[UIGestureRecognizer _componentsEnded:withEvent:] + 217
25 UIKitCore 0x0000000113dd2162 -[UITouchesEvent _sendEventToGestureRecognizer:] + 674
26 UIKitCore 0x000000011387f6fb __47-[UIGestureEnvironment _updateForEvent:window:]_block_invoke + 70
27 UIKitCore 0x000000011387f380 -[UIGestureEnvironment _updateForEvent:window:] + 489
28 UIKitCore 0x0000000113d84bb8 -[UIWindow sendEvent:] + 4752
29 UIKitCore 0x0000000113d5e7dd -[UIApplication sendEvent:] + 408
30 UIKitCore 0x0000000113dee8c0 __processEventQueue + 15007
31 UIKitCore 0x0000000113de5398 __eventFetcherSourceCallback + 106
32 CoreFoundation 0x0000000107d69b04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33 CoreFoundation 0x0000000107d69a43 __CFRunLoopDoSource0 + 157
34 CoreFoundation 0x0000000107d69187 __CFRunLoopDoSources0 + 222
35 CoreFoundation 0x0000000107d63c68 __CFRunLoopRun + 882
36 CoreFoundation 0x0000000107d63542 CFRunLoopRunSpecific + 538
37 GraphicsServices 0x0000000111c15db3 GSEventRunModal + 139
38 UIKitCore 0x0000000113d4014e -[UIApplication _run] + 912
39 UIKitCore 0x0000000113d451b1 UIApplicationMain + 101
40 Wicrypt 0x00000001066f786b main + 75
41 libdyld.dylib 0x000000010e009411 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[OIDAuthorizationService presentAuthorizationRequest:presentingViewController:callback:]: unrecognized selector sent to class 0x106b47af0'
terminating with uncaught exception of type NSException
CoreSimulator 732.7 - Device: iPhone 11 (7A79AEEA-ED4B-4DCD-BC33-81C73615B7A7) - Runtime: iOS 14.0 (18A5332e) - DeviceType: iPhone 11
I have set the necessary delegate
GIDSignIn.sharedInstance()?.delegate = googleDelegate
I have also set the presenting controller properly
GIDSignIn.sharedInstance()!.presentingViewController = window.rootViewController
The closest resource I've seen is: https://openid.github.io/AppAuth-iOS/docs/latest/category_o_i_d_authorization_service_07_i_o_s_08.html#details
Please any help or reference will be resourceful
This may be this necessary step from docs if you don't use pods:
Add the ObjC linker flag to the app target's build settings:
Other Linker Flags: $(OTHER_LDFLAGS) -ObjC
The method that is being called, is present in this file.
If your runtime can not find this method, it means that this file is not included into the project.
If you are using CocoaPods, this file should be automatically included for ios platform. Please insure that you specify
platform :ios, '13.0'
in your Podfile.
We don't need to add -ObjC in OTHER_LINKER_FLAGS nor include AppAuthCore.framework in the app target's "Linked frameworks and libraries".
Adding AppAuth.framework alone is sufficient. (and in the associated carthage copy-frameworks Run Script phase.)"
(Based on the ratkins' comment on AppAuth's Git forum)

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

PayPal issues on different iPhone models

I use PayPal in my iOS app. When I run the app on the iPhone 4s it works perfectly, but when I run the app on the iPhone 5s or iPhone 6s the app crashes. This is the error:
2016-08-09 11:51:56.241 Signalyx[64835:356737] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[NSTaggedPointerString getCharacters:range:]: Range {0, 7} out of bounds; string length 4'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109138f45 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000108756deb objc_exception_throw + 48
2 CoreFoundation 0x0000000109138e7d +[NSException raise:format:] + 205
3 CoreFoundation 0x000000010912468a -[NSTaggedPointerString getCharacters:range:] + 394
4 CoreFoundation 0x0000000109011eaa CFStringCompareWithOptionsAndLocale + 2970
5 CoreFoundation 0x0000000109124feb -[NSTaggedPointerString compare:options:range:locale:] + 219
6 Foundation 0x00000001082ecee3 -[NSString compare:options:range:] + 29
7 Signalyx 0x00000001054d328f __53-[PPZebraLocalizer localizeString:adaptedForCountry:]_block_invoke + 60
8 CoreFoundation 0x000000010906813b -[NSArray indexOfObject:inSortedRange:options:usingComparator:] + 491
9 Signalyx 0x00000001054d2fd4 -[PPZebraLocalizer localizeString:adaptedForCountry:] + 426
10 Signalyx 0x00000001054d3a44 PPZebraLocalizedStringWithAlert + 1044
11 Signalyx 0x00000001054c1da3 +[PPZebraUI localizedStringForKey:adaptedForCountry:] + 140
12 Signalyx 0x00000001054c2de1 +[PPZebraUI cancelBarButtonWithTarget:withAction:] + 88
13 Signalyx 0x00000001054b0c01 -[PPDeviceCheckViewController viewDidLoad] + 292
14 UIKit 0x0000000106d46cc4 -[UIViewController loadViewIfRequired] + 1198
15 UIKit 0x0000000106d47013 -[UIViewController view] + 27
16 UIKit 0x0000000106d991c5 -[UINavigationController preferredContentSize] + 194
17 UIKit 0x0000000106d1df26 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:] + 59
18 UIKit 0x0000000106d1a2b4 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 95
19 UIKit 0x0000000106bc01ba _runAfterCACommitDeferredBlocks + 317
20 UIKit 0x0000000106bd3396 _cleanUpAfterCAFlushAndRunDeferredBlocks + 95
21 UIKit 0x0000000106bdf1c2 _afterCACommitHandler + 90
22 CoreFoundation 0x0000000109064947 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
23 CoreFoundation 0x00000001090648b7 __CFRunLoopDoObservers + 391
24 CoreFoundation 0x000000010905a50b __CFRunLoopRun + 1147
25 CoreFoundation 0x0000000109059e08 CFRunLoopRunSpecific + 488
26 GraphicsServices 0x000000010bf10ad2 GSEventRunModal + 161
27 UIKit 0x0000000106bb430d UIApplicationMain + 171
28 Signalyx 0x00000001053656af main + 111
29 libdyld.dylib 0x000000010970192d start + 1
30 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
I hope there is card.io SDK installed in your app with PayPal. If you check files in your project you will get CardIO files. In that you are using old version of card.io SDK. This issue has been fixed in version 5.1.0.
Here is the issue
Fixed :
https://github.com/card-io/card.io-iOS-source/commit/b9b3c0a329b75d048a20190f8843da4f247d755a
The current version of card.io SDK is 5.3.2 and that you need to use. I hope this will resolve your issue.
For more info refer :
https://github.com/card-io/card.io-iOS-SDK

App crash when add Google Conversion Tracking SDK iOS-3.0.0

I am adding GoogleConversionTrackingSDK into my project and then calling the function: [ACTConversionReporter reportWithConversionID:#"972050884" label:#"Bzk1CIzPkAkQxKPBzwM" value:#"0" isRepeatable:NO];
then my app crash. Here is the stack trace:
'NSInvalidArgumentException', reason: '+[NSDate act_secondsSince1970]: unrecognized selector sent to class 0x10225d8d0'
*** First throw call stack:
(
0 CoreFoundation 0x000000010210f495 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000101bd499e objc_exception_throw + 43
2 CoreFoundation 0x00000001021a055d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000102100d8d ___forwarding___ + 973
4 CoreFoundation 0x0000000102100938 _CF_forwarding_prep_0 + 120
5 TestMoboSDK-Client 0x00000001000143cb -[ACTReporterPrivate commonQueryParameters] + 84
6 TestMoboSDK-Client 0x0000000100014779 -[ACTReporterPrivate report] + 98
7 TestMoboSDK-Client 0x000000010001177a -[ACTReporter report] + 75
8 TestMoboSDK-Client 0x00000001000118d4 +[ACTConversionReporter reportWithConversionID:label:value:isRepeatable:] + 170
9 TestMoboSDK-Client 0x0000000100001de6 -[MoboSDK analytics] + 342
10 TestMoboSDK-Client 0x0000000100001c16 __20-[MoboSDK googleSDK]_block_invoke + 38
11 libdispatch.dylib 0x00000001027fd72d _dispatch_client_callout + 8
12 libdispatch.dylib 0x00000001027ee85f dispatch_once_f + 82
13 TestMoboSDK-Client 0x0000000100001bea -[MoboSDK googleSDK] + 122
14 TestMoboSDK-Client 0x0000000100001b53 -[MoboSDK init] + 899
15 TestMoboSDK-Client 0x0000000100001eb2 __17+[MoboSDK shared]_block_invoke + 50
16 libdispatch.dylib 0x00000001027fd72d _dispatch_client_callout + 8
17 libdispatch.dylib 0x00000001027ee85f dispatch_once_f + 82
18 TestMoboSDK-Client 0x0000000100001e6a +[MoboSDK shared] + 122
19 TestMoboSDK-Client 0x000000010000566e -[ViewController supportedInterfaceOrientations] + 254
20 UIKit 0x000000010088568b -[UIViewController __supportedInterfaceOrientations] + 378
21 UIKit 0x000000010087f7be -[UIViewController _preferredInterfaceOrientationGivenStatusBarAndDeviceAndOrientation:] + 59
22 UIKit 0x00000001007b7ef6 -[UIWindow setRootViewController:] + 103
23 TestMoboSDK-Client 0x00000001000078f0 -[AppDelegate application:didFinishLaunchingWithOptions:] + 464
24 UIKit 0x000000010077c3d9 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 264
25 UIKit 0x000000010077cbe1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1605
26 UIKit 0x0000000100780a0c -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 660
27 UIKit 0x0000000100791d4c -[UIApplication handleEvent:withNewEvent:] + 3189
28 UIKit 0x0000000100792216 -[UIApplication sendEvent:] + 79
29 UIKit 0x0000000100782086 _UIApplicationHandleEvent + 578
30 GraphicsServices 0x00000001035a171a _PurpleEventCallback + 762
31 GraphicsServices 0x00000001035a11e1 PurpleEventCallback + 35
32 CoreFoundation 0x0000000102091679 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
33 CoreFoundation 0x000000010209144e __CFRunLoopDoSource1 + 478
34 CoreFoundation 0x00000001020ba903 __CFRunLoopRun + 1939
35 CoreFoundation 0x00000001020b9d83 CFRunLoopRunSpecific + 467
36 UIKit 0x00000001007802e1 -[UIApplication _run] + 609
37 UIKit 0x0000000100781e33 UIApplicationMain + 1010
38 TestMoboSDK-Client 0x000000010000b44a main + 138
39 TestMoboSDK-Client 0x00000001000017c4 start + 52
40 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
I also tried a fresh project to add this SDK but got the same crash.If GoogleConversionTrackingSDK-iOS-3.0.0 is support for iOS 7 or not? Need guidance on what am I doing wrong here or if I am missing something.
Thanks.
This problem appears because google has used categories in static library
The solution is super simple, you need to notify linker about that
1) Click on the project
2) Click on the target
3) Open Build Settings tab
4) Search for Other Linker Flags
5) Double click on Other Linker Flags
6) Add -ObjC and -all_load flags
7)
Remove binary (delete from device/simulator),
Clean project (hitting cmd+shift+k) and
build again (hitting cmd+b).
You're ready to go!
Have you tried to follow Boudewijn P's suggestion from here ?
Add -ObjC to the "Other Linker Flags" in the build settings. Or, if
you get duplicate symbols, just force load the library by adding
-force_load to the other linker flags:
-force_load path/to/libGoogleConversionTracking.a replace "path/to" appropriately.

Strange Modal View Controller NSException bug

Can anyone help me make sense of the crash log below? It came from Apple after inquiring further about a crash my app had. They rejected the app because of this crash, but I have never once been able to make it occur on my end or with 10+ beta testers. So basically, it is only occurring for them for some reason. It looks like it has to do with presenting a view, but that's weird because, like I said, this view is coming up perfectly fine.
Mar 11 14:46:09 unknown StageBloc[2309] <Error>: *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '-[AccountOverviewViewController popupViewController]: unrecognized selector sent to instance 0x2c7820'
*** Call stack at first throw:
(
0 CoreFoundation 0x3291964f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x36b5cc5d objc_exception_throw + 24
2 CoreFoundation 0x3291d1bf -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
3 CoreFoundation 0x3291c649 ___forwarding___ + 508
4 CoreFoundation 0x32893180 _CF_forwarding_prep_0 + 48
5 AppName 0x0004b56d -[TTBaseViewController shouldAutorotateToInterfaceOrientation:] + 36
6 UIKit 0x35b0dead -[UIViewController _isSupportedInterfaceOrientation:] + 48
7 UIKit 0x35b76e51 -[UIViewController _preferredInterfaceOrientationGivenCurrentOrientation:] + 68
8 UIKit 0x35b75f07 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 794
9 UIKit 0x35b756f7 -[UIViewController presentModalViewController:withTransition:] + 2378
10 UIKit 0x35b74cd7 -[UIViewController presentModalViewController:animated:] + 58
11 StageBloc 0x00009bb1 -[StageBlocViewController loginSuccessful] + 196
12 StageBloc 0x00004c21 -[StageBlocAppDelegate successfulAttempt:] + 288
13 CoreFoundation 0x32886f03 -[NSObject(NSObject) performSelector:withObject:] + 22
14 AppName 0x0002aa75 -[ASIHTTPRequest reportFinished] + 60
15 CoreFoundation 0x32886f03 -[NSObject(NSObject) performSelector:withObject:] + 22
16 Foundation 0x325707a9 __NSThreadPerformPerform + 268
17 CoreFoundation 0x328f0a79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
18 CoreFoundation 0x328f275f __CFRunLoopDoSources0 + 382
19 CoreFoundation 0x328f34eb __CFRunLoopRun + 230
20 CoreFoundation 0x32883ec3 CFRunLoopRunSpecific + 230
21 CoreFoundation 0x32883dcb CFRunLoopRunInMode + 58
22 GraphicsServices 0x30b2b41f GSEventRunModal + 114
23 GraphicsServices 0x30b2b4cb GSEventRun + 62
24 UIKit 0x35af9d69 -[UIApplication _run] + 404
25 UIKit 0x35af7807 UIApplicationMain + 670
26 AppName 0x00002ae1 main + 48
27 AppName 0x00002aac start + 40
)
This had to do with forgetting to add some required built variables to my project that the Three20 libraries use. I didn't notice it because you can't run App Store release builds locally.

Resources