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.
Related
Xcode is giving an exception when Ionic 3 app run on ios greater than 9.3 but 9.3 or below is fine, why?
Giving this trace:
2018-05-04 10:12:51.442622+0500 AfroCoin[3018:45327] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/ApplePro/Library/Developer/CoreSimulator/Devices/13045814-2612-45C9-B223-CFC9C7F84987/data/Containers/Data/Application/5E794874-59EA-4DF6-B824-82B97E52E402/Library/Cookies/io.ionic.afrocoinworldwide.binarycookies
objc[3018]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x1299384d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x128a64e38). One of the two will be used. Which one is undefined.
2018-05-04 10:13:03.634193+0500 AfroCoin[3018:45327] Apache Cordova native platform version 4.5.3 is starting.
2018-05-04 10:13:03.637288+0500 AfroCoin[3018:45327] Multi-tasking -> Device: YES, App: YES
2018-05-04 10:13:03.777136+0500 AfroCoin[3018:45327] CDVWKWebViewEngine: trying to inject XHR polyfill
2018-05-04 10:13:04.034624+0500 AfroCoin[3018:45327] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<WKWebViewConfiguration 0x7fc776d138a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key _requiresUserActionForMediaPlayback.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010c2bf1e6 __exceptionPreprocess + 294
1 libobjc.A.dylib 0x000000010a69e031 objc_exception_throw + 48
2 CoreFoundation 0x000000010c2bf0b9 -[NSException raise] + 9
3 Foundation 0x000000010a0bfb47 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 292
4 AfroCoin 0x000000010926df46 __43+[APPBackgroundMode swizzleWKWebViewEngine]_block_invoke + 358
5 AfroCoin 0x0000000109285667 -[CDVWKWebViewEngine pluginInitialize] + 983
6 AfroCoin 0x00000001092d13ab -[CDVViewController registerPlugin:withClassName:] + 315
7 AfroCoin 0x00000001092d0abc -[CDVViewController newCordovaViewWithFrame:] + 1404
8 AfroCoin 0x00000001092d0fc2 -[CDVViewController createGapView] + 354
9 AfroCoin 0x00000001092ce516 -[CDVViewController viewDidLoad] + 566
10 AfroCoin 0x000000010926c196 -[MainViewController viewDidLoad] + 54
11 UIKit 0x000000010f59b191 -[UIViewController loadViewIfRequired] + 1215
12 UIKit 0x000000010f59b5d4 -[UIViewController view] + 27
13 UIKit 0x000000010f469183 -[UIWindow addRootViewControllerViewIfPossible] + 122
14 UIKit 0x000000010f469894 -[UIWindow _setHidden:forced:] + 294
15 UIKit 0x000000012805a136 -[UIWindowAccessibility _orderFrontWithoutMakingKey] + 86
16 UIKit 0x000000010f47c62c -[UIWindow makeKeyAndVisible] + 42
17 AfroCoin 0x00000001092d2e08 -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 776
18 AfroCoin 0x000000010926bf17 -[AppDelegate application:didFinishLaunchingWithOptions:] + 199
19 UIKit 0x000000010f3ee75b -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 278
20 UIKit 0x000000010f3f01d2 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4123
21 UIKit 0x000000010f3f562b -[UIApplication _runWithMainScene:transitionContext:completion:] + 1677
22 UIKit 0x000000010f7b7e4a _111-[__UICanvasLifecycleMonitor_Compatability scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
23 UIKit 0x000000010fb8a909 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
24 UIKit 0x000000010f7b7a86 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
25 UIKit 0x000000010f7b82a7 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675
26 UIKit 0x00000001101294d4 _82-[_UIApplicationCanvas transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299
27 UIKit 0x000000011012936e -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433
28 UIKit 0x000000010fe0d62d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
29 UIKit 0x0000000110008387 _performActionsWithDelayForTransitionContext + 100
30 UIKit 0x000000010fe0d4f7 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223
31 UIKit 0x000000010fb89fb0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
32 UIKit 0x000000010f3f3f0c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
33 UIKit 0x000000010f9c6a97 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
34 FrontBoardServices 0x00000001184402f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331
35 FrontBoardServices 0x0000000118448cfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225
36 libdispatch.dylib 0x000000010d5b8848 _dispatch_client_callout + 8
37 libdispatch.dylib 0x000000010d5bde14 _dispatch_block_invoke_direct + 592
38 FrontBoardServices 0x0000000118474470 _FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK_ + 24
39 FrontBoardServices 0x000000011847412e -[FBSSerialQueue _performNext] + 439
40 FrontBoardServices 0x000000011847468e -[FBSSerialQueue _performNextFromRunLoopSource] + 45
41 CoreFoundation 0x000000010c261bb1 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
42 CoreFoundation 0x000000010c2464af __CFRunLoopDoSources0 + 271
43 CoreFoundation 0x000000010c245a6f __CFRunLoopRun + 1263
44 CoreFoundation 0x000000010c24530b CFRunLoopRunSpecific + 635
45 GraphicsServices 0x000000010e1eba73 GSEventRunModal + 62
46 UIKit 0x000000010f3f70b7 UIApplicationMain + 159
47 AfroCoin 0x000000010926be31 main + 65
48 libdyld.dylib 0x000000010d635955 start + 1
49 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
As per my exprience, you need to update your cordova version as its old issue of cordova.
As its deprecated method after iOS 9.0 so either you need to remove _ from that key (_requiresUserActionForMediaPlayback) or update your cordova cli
Update cordova cmd:
$ sudo npm update -g cordova
By updating to latest Cordova CLI will solve your problem of crashing.
For more ref you can find below issue reported on GitHub:
Issue Link : https://github.com/katzer/cordova-plugin-background-mode/issues/264
Hope this will helps.
My app relatively often crashes with SIGSEGV. Unfortunately, I can not reproduce the crash and only see crash reports in Hockeyapp. I tried turning zombies on, too.
Looking at the crash report it seems that app crashes when processing touches (when user scrolling or something like this). No my app code mentioned in the stack trace.
The question is: how is it possible to have memory issue in this scenario? What would you recommend to reproduce and fix the issue?
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x71a86113
Crashed Thread: 0
Application Specific Information:
objc_msgSend() selector name: convertPoint:fromLayer:
Thread 0 Crashed:
0 libobjc.A.dylib 0x2106fae6 objc_msgSend_stret + 6
1 UIKit 0x25e7a349 -[UIView(Geometry) convertPoint:fromView:] + 98
2 UIKit 0x25e7e987 __38-[UIView(Geometry) hitTest:withEvent:]_block_invoke + 104
3 CoreFoundation 0x217e8279 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 86
4 CoreFoundation 0x217e81a7 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 248
5 UIKit 0x25e7e447 -[UIView(Geometry) hitTest:withEvent:] + 492
6 UIKit 0x26146f0d -[UIView(Geometry) _hitTest:withEvent:windowServerHitTestWindow:] + 62
7 UIKit 0x25e7e9bd __38-[UIView(Geometry) hitTest:withEvent:]_block_invoke + 158
8 CoreFoundation 0x217e8279 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 86
9 CoreFoundation 0x217e81a7 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 248
10 UIKit 0x25e7e447 -[UIView(Geometry) hitTest:withEvent:] + 492
11 UIKit 0x26146f0d -[UIView(Geometry) _hitTest:withEvent:windowServerHitTestWindow:] + 62
12 UIKit 0x26136491 __70+[UIWindow _hitTestToPoint:forEvent:windowServerHitTestWindow:screen:]_block_invoke + 186
13 UIKit 0x25e4783f +[UIWindow _topVisibleWindowPassingTest:] + 156
14 UIKit 0x26136399 +[UIWindow _hitTestToPoint:forEvent:windowServerHitTestWindow:screen:] + 142
15 UIKit 0x26136629 -[UIWindow _targetWindowForPathIndex:atPoint:forEvent:windowServerHitTestWindow:onScreen:] + 158
16 UIKit 0x260ffb61 _UIApplicationHandleDigitizerEvent + 10982
17 UIKit 0x25e4123f _UIApplicationHandleEventQueue + 3836
18 CoreFoundation 0x21889dff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
19 CoreFoundation 0x218899ed __CFRunLoopDoSources0 + 450
20 CoreFoundation 0x21887d5b __CFRunLoopRun + 792
21 CoreFoundation 0x217d7229 CFRunLoopRunSpecific + 518
22 CoreFoundation 0x217d7015 CFRunLoopRunInMode + 106
23 GraphicsServices 0x22dc7ac9 GSEventRunModal + 158
24 UIKit 0x25eab189 UIApplicationMain + 142
25 My App. 0x0005376b main (main.m:14)
26 ??? 0x2147f873 0x0 + 0
I am trying to fix a bug that I am not able to recreate, it doesn't happen to my device (iPhone 5s) or in any iOS simulator but happened only once in an iPhone 7 of my client. When the client deleted and downloaded again the app, the bug disappeared, so I am searching for a ghost now.
I was able to get the crash log file from the clients phone and symbolicate it. Here are some useful informations I extracted:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
In the un-symbolicated crash report: (check 2 and 3 line)
Last Exception Backtrace:
0 CoreFoundation 0x18c92efe0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x18b390538 objc_exception_throw + 56
2 CoreFoundation 0x18c92ef28 +[NSException raise:format:] + 116
3 Foundation 0x18d324df0 -[NSString stringByAppendingString:] + 112
4 myApp 0x100119ea8 0x100004000 + 1138344
5 myApp 0x100119784 0x100004000 + 1136516
6 UIKit 0x192ad1204 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 380
7 UIKit 0x192cdd738 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3452
8 UIKit 0x192ce31e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1684
9 UIKit 0x192cf7d18 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3151 + 48
10 UIKit 0x192ce0474 -[UIApplication workspaceDidEndTransaction:] + 168
11 FrontBoardServices 0x18e4d7884 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
12 FrontBoardServices 0x18e4d76f0 -[FBSSerialQueue _performNext] + 176
13 FrontBoardServices 0x18e4d7aa0 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
14 CoreFoundation 0x18c8dd42c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
15 CoreFoundation 0x18c8dcd9c __CFRunLoopDoSources0 + 540
16 CoreFoundation 0x18c8da9a8 __CFRunLoopRun + 744
17 CoreFoundation 0x18c80ada4 CFRunLoopRunSpecific + 424
18 UIKit 0x192aca384 -[UIApplication _run] + 652
19 UIKit 0x192ac5058 UIApplicationMain + 208
20 myApp 0x10014b8ac 0x100004000 + 1341612
21 libdyld.dylib 0x18b81959c start + 4
and in the symbolicated crash report:(check 4 and 5 line)
Last Exception Backtrace:
0 CoreFoundation 0x185f7fd38 0x185e3e000 + 1318200
1 libobjc.A.dylib 0x185494528 0x18548c000 + 34088
2 CoreFoundation 0x185f7fc80 0x185e3e000 + 1318016
3 Foundation 0x18686e760 0x186862000 + 51040
4 myApp 0x10469f928 -[AppDelegate initViewController] (AppDelegate.m:96)
5 myApp 0x10469f520 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:30)
6 UIKit 0x18f3ff050 0x18f380000 + 520272
7 UIKit 0x18f5f2898 0x18f380000 + 2566296
8 UIKit 0x18f5f76e4 0x18f380000 + 2586340
9 UIKit 0x18f885454 0x18f380000 + 5264468
10 UIKit 0x18fb551f0 0x18f380000 + 8212976
11 UIKit 0x18f8850b8 0x18f380000 + 5263544
12 UIKit 0x18f885928 0x18f380000 + 5265704
13 UIKit 0x18ffee6e8 0x18f380000 + 13035240
14 UIKit 0x18ffee58c 0x18f380000 + 13034892
15 UIKit 0x18fd6a9c0 0x18f380000 + 10398144
16 UIKit 0x18fefffc8 0x18f380000 + 12058568
17 UIKit 0x18fd6a870 0x18f380000 + 10397808
18 UIKit 0x18fb54850 0x18f380000 + 8210512
19 UIKit 0x18f5f5e28 0x18f380000 + 2580008
20 UIKit 0x18f9f96ec 0x18f380000 + 6788844
21 FrontBoardServices 0x188621768 0x188615000 + 51048
22 FrontBoardServices 0x18862a070 0x188615000 + 86128
23 libdispatch.dylib 0x185905048 0x185904000 + 4168
24 libdispatch.dylib 0x18590c6c8 0x185904000 + 34504
25 FrontBoardServices 0x188655a04 0x188615000 + 264708
26 FrontBoardServices 0x1886556a8 0x188615000 + 263848
27 FrontBoardServices 0x188655c44 0x188615000 + 265284
28 CoreFoundation 0x185f28358 0x185e3e000 + 959320
29 CoreFoundation 0x185f282d8 0x185e3e000 + 959192
30 CoreFoundation 0x185f27b60 0x185e3e000 + 957280
31 CoreFoundation 0x185f25738 0x185e3e000 + 948024
32 CoreFoundation 0x185e462d8 0x185e3e000 + 33496
33 GraphicsServices 0x187cd7f84 0x187ccd000 + 44932
34 UIKit 0x18f3f3880 0x18f380000 + 473216
35 myApp 0x1046bc124 main (main.m:14)
36 libdyld.dylib 0x18596a56c 0x185969000 + 5484
So at the third line of the un-symbolicated crash report it says:
0x18d324df0 -[NSString stringByAppendingString:] + 112
and at the 4th line of the symbolicated crash report:
0x10469f928 -[AppDelegate initViewController] (AppDelegate.m:96)
In my AppDelegate at the 96 line I have this code:
NSString *backColorString = [#"#" stringByAppendingString:[myModel sharedInstance].theme.BackColor];
So the only thing that can be wrong with this, if the problem is indeed here(?) is that the
[HotelStay sharedInstance].theme.BackColor
must return nil or "".
The thing is that I tried both and I couldn't be able to recreate the problem. Is there something I am missing or doing wrong here?
if you use stringByAppendingString on an NSString than you end up with leaks because the pointer associated with the initial NSString moves around, pointing to the new string created by the append, whereas with NSMutableString, your pointer always points to that mutable string. I guess it should be the issue but what I am thinking is according to Apple Documentation The string to append to the receiver. This value must not be nil if its nil it will Raise a NSInvalidArgumentException.
I am writing a program using SpriteKit and UIKit.
I have two view controller in my program, first for main page and second for GameViewController (which includes GameScene). I have added a back button to the GameViewController which goes to main page (MainPageViewController). Everything works fine so far.
In my first page, when I wanted to go back again to GameViewController, program crashes and the following error is given:
GitarTelleri[959:47801] 15:21:39.405 ERROR:
AVAudioEngineGraph.mm:1743: _Connect: required condition is false:
!destNodeMixerConns.empty() && !isDestNodeConnectedToIONode 2016-09-19
15:21:39.413 GitarTelleri[959:47801] * Terminating app due to
uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required
condition is false: !destNodeMixerConns.empty() &&
!isDestNodeConnectedToIONode'
* First throw call stack: ( 0 CoreFoundation 0x0000000104250d85 exceptionPreprocess + 165 1 libobjc.A.dylib
0x00000001061d2deb objc_exception_throw + 48 2 CoreFoundation
0x0000000104250bea +[NSException raise:format:arguments:] + 106 3
libAVFAudio.dylib 0x000000010915eff3
_Z19AVAE_RaiseExceptionP8NSStringz + 176 4 libAVFAudio.dylib 0x0000000109171bc3
_ZN18AVAudioEngineGraph8_ConnectEP19AVAudioNodeImplBaseS1_jjP13AVAudioFormat
+ 1281 5 libAVFAudio.dylib 0x0000000109174df0 _ZN18AVAudioEngineGraph7ConnectEP11AVAudioNodeS1_mmP13AVAudioFormat + 322 6 libAVFAudio.dylib 0x00000001091a7a71
_ZN17AVAudioEngineImpl7ConnectEP11AVAudioNodeS1_mmP13AVAudioFormat + 301 7 libAVFAudio.dylib 0x00000001091a7ad8
-[AVAudioEngine connect:to:format:] + 83 8 AudioKit 0x00000001037a611b
_TTSf4n_d___TZFC8AudioKit8AudioKits6outputGSqCS_6AKNode_ + 267 9 GitarTelleri 0x000000010362c234
TFC12GitarTelleri18GameViewController13viewDidAppearfSbT + 196 10 GitarTelleri 0x000000010362c341
TToFC12GitarTelleri18GameViewController13viewDidAppearfSbT + 49 11 UIKit 0x0000000104df7335
-[UIViewController _setViewAppearState:isAnimating:] + 830 12 UIKit 0x0000000104e30589 -[UINavigationController viewDidAppear:] + 207 13
UIKit 0x0000000104df7335
-[UIViewController _setViewAppearState:isAnimating:] + 830 14 UIKit 0x0000000104df7cb8 -[UIViewController _endAppearanceTransition:] + 262
15 UIKit 0x0000000104dc208a
-[UIPresentationController transitionDidFinish:] + 827 16 UIKit 0x0000000104f9f38f -[_UICurrentContextPresentationController
transitionDidFinish:] + 42 17 UIKit
0x0000000104dc57c1 __56-[UIPresentationController
runTransitionForCurrentState]_block_invoke_2 + 183 18 UIKit
0x00000001056844c8 -[_UIViewControllerTransitionContext
completeTransition:] + 101 19 UIKit
0x0000000104dbef77 -[UITransitionView notifyDidCompleteTransition:] +
252 20 UIKit 0x0000000104dbec88
-[UITransitionView _didCompleteTransition:] + 1344 21 UIKit 0x0000000104dc13f4 -[UITransitionView _transitionDidStop:finished:] +
104 22 UIKit 0x0000000104ce47ff
-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 241 23 UIKit 0x0000000104ce4bae
-[UIViewAnimationState animationDidStop:finished:] + 80 24 QuartzCore 0x0000000107d7d3c8
_ZN2CA5Layer23run_animation_callbacksEPv + 308 25 libdispatch.dylib 0x0000000108c773eb _dispatch_client_callout + 8 26 libdispatch.dylib
0x0000000108c5f1ef _dispatch_main_queue_callback_4CF + 1738 27
CoreFoundation 0x00000001041aa0f9
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 28 CoreFoundation 0x000000010416bb99 __CFRunLoopRun
+ 2073 29 CoreFoundation 0x000000010416b0f8 CFRunLoopRunSpecific + 488 30 GraphicsServices
0x000000010a189ad2 GSEventRunModal + 161 31 UIKit
0x0000000104c56f09 UIApplicationMain + 171 32 GitarTelleri
0x0000000103630372 main + 114 33 libdyld.dylib
0x0000000108cab92d start + 1 34 ???
0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with
uncaught exception of type NSException (lldb)
Should I change something in AppDelegate.swift or should I clean something when BackButton is clicked?
check your back button have AudioKit.stop()
Hello have crash app in IOS
This log:
2015-01-15 13:23:32.490 App[23898:1611888] <Google> Category methods are not loaded. Make sure you link the Google Mobile Ads library using one of the -ObjC, -force_load, or -all_load linker flags. See https://developers.google.com/mobile-ads-sdk/docs/#ios for more information.
2015-01-15 13:23:34.526 App[23898:1611888] registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.
2015-01-15 13:23:34.802 App[23898:1611888] +[NSDecimalNumber gad_negativeOne]: unrecognized selector sent to class 0x7d7400
2015-01-15 13:23:34.805 App[23898:1611888] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSDecimalNumber gad_negativeOne]: unrecognized selector sent to class 0x7d7400'
*** First throw call stack:
(
0 CoreFoundation 0x03278946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x02be0a97 objc_exception_throw + 44
2 CoreFoundation 0x03280465 +[NSObject(NSObject) doesNotRecognizeSelector:] + 277
3 CoreFoundation 0x031c93e7 ___forwarding___ + 1047
4 CoreFoundation 0x031c8fae _CF_forwarding_prep_0 + 14
5 App 0x000872ea -[GADStatisticDictionary decrementNumberForKey:shouldNotifyDelegate:] + 58
6 App 0x0007cc75 -[GADApplication init] + 512
7 App 0x0007ca45 __35+[GADApplication sharedApplication]_block_invoke + 55
8 libdispatch.dylib 0x03ecde2f _dispatch_client_callout + 14
9 libdispatch.dylib 0x03eb876c dispatch_once_f + 363
10 libdispatch.dylib 0x03eb85fc dispatch_once + 31
11 App 0x0007ca0c +[GADApplication sharedApplication] + 113
12 App 0x000780cd +[GADSlot initialize] + 67
13 libobjc.A.dylib 0x02be1461 _class_initialize + 576
14 libobjc.A.dylib 0x02be9fe5 lookUpImpOrForward + 339
15 libobjc.A.dylib 0x02be9e8d _class_lookupMethodAndLoadCache3 + 55
16 libobjc.A.dylib 0x02bf412f objc_msgSend + 139
17 App 0x00075f6a -[GADBannerView commonInitWithAdSize:] + 42
18 App 0x0007626e -[GADBannerView initWithCoder:] + 163
19 UIKit 0x00c5205e -[UIClassSwapper initWithCoder:] + 239
20 UIKit 0x00de7f1a UINibDecoderDecodeObjectForValue + 739
21 UIKit 0x00de7c2f -[UINibDecoder decodeObjectForKey:] + 371
22 UIKit 0x00c51bf1 -[UIRuntimeConnection initWithCoder:] + 189
23 UIKit 0x00de7f1a UINibDecoderDecodeObjectForValue + 739
24 UIKit 0x00de811c UINibDecoderDecodeObjectForValue + 1253
25 UIKit 0x00de7c2f -[UINibDecoder decodeObjectForKey:] + 371
26 UIKit 0x00c50ea7 -[UINib instantiateWithOwner:options:] + 1164
27 UIKit 0x00a73624 -[UIViewController _loadViewFromNibNamed:bundle:] + 270
28 UIKit 0x00a73dbb -[UIViewController loadView] + 295
29 UIKit 0x00a73fef -[UIViewController loadViewIfRequired] + 78
30 UIKit 0x00a74595 -[UIViewController view] + 35
31 UIKit 0x0096b825 -[UIWindow addRootViewControllerViewIfPossible] + 66
32 UIKit 0x0096bc99 -[UIWindow _setHidden:forced:] + 287
33 UIKit 0x0096bf50 -[UIWindow _orderFrontWithoutMakingKey] + 49
34 UIKit 0x0097a28d -[UIWindow makeKeyAndVisible] + 80
35 UIKit 0x00917776 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3108
36 UIKit 0x0091ac0d -[UIApplication _runWithMainScene:transitionContext:completion:] + 1639
37 UIKit 0x009337d0 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 59
38 UIKit 0x0091981f -[UIApplication workspaceDidEndTransaction:] + 155
39 FrontBoardServices 0x05b799de __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
40 FrontBoardServices 0x05b7946f __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
41 FrontBoardServices 0x05b8b425 __31-[FBSSerialQueue performAsync:]_block_invoke + 26
42 CoreFoundation 0x0319c1c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
43 CoreFoundation 0x03191ad3 __CFRunLoopDoBlocks + 195
44 CoreFoundation 0x03191238 __CFRunLoopRun + 936
45 CoreFoundation 0x03190bcb CFRunLoopRunSpecific + 443
46 CoreFoundation 0x031909fb CFRunLoopRunInMode + 123
47 UIKit 0x009191e4 -[UIApplication _run] + 571
48 UIKit 0x0091c8b6 UIApplicationMain + 1526
49 App 0x0005991d main + 141
50 libdyld.dylib 0x03ef9ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Try to add -ObjC to Other Linker Flags in the Build Settings tab.