Hello,
When I integrate the SDK in my new application (swift based) it crashes the app with the crash log below.
2015-08-24 15:14:08.577 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Init settings: {
AccountInfo = {
Account = xxxxx;
Profile = xxxxx;
Target = dev;
};
Settings = {
AdditionalCustomData = {
};
ExcludeClasses = (
);
LogVerbosity = 1;
UseExceptionTracking = 1;
UseHTTPS = 1;
};
}
2015-08-24 15:14:08.577 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Initializing...
2015-08-24 15:14:08.755 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Adding new command: _push
2015-08-24 15:14:08.755 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Adding new command: _http
2015-08-24 15:14:08.755 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Adding new command: _mobilecompanion
2015-08-24 15:14:08.763 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Prior crash detected. Sending crash exception data...
2015-08-24 15:14:08.769 MyAppl_Tst[69904:4377629] -[__NSDictionaryM teal_stringifiedDictionary]: unrecognized selector sent to instance 0x7fc992d084c0
2015-08-24 15:14:08.779 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Exception encountered: -[__NSDictionaryM teal_stringifiedDictionary]: unrecognized selector sent to instance 0x7fc992d084c0 trace:(
0 CoreFoundation 0x000000010ba56c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b397bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010ba5e0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010b9b413c ___forwarding___ + 988
4 CoreFoundation 0x000000010b9b3cd8 _CF_forwarding_prep_0 + 120
5 MyAppl_Tst 0x000000010974067e -[TealiumCommHandler addDispatch:completionBlock:] + 61
6 MyAppl_Tst 0x000000010975f21f -[TealiumActual dispatchActual:customData:callType:wasAutotracked:priority:completionBlock:] + 1195
7 MyAppl_Tst 0x000000010975c015 +[TealiumActual trackCallType:customData:object:autotracked:completionBlock:] + 1338
8 MyAppl_Tst 0x000000010974ac66 +[TEALExceptionHelper checkAndSendCrashLog] + 437
9 MyAppl_Tst 0x000000010975b972 +[TealiumActual initWithCompletionBlock:] + 1479
10 MyAppl_Tst 0x000000010975b322 +[TealiumActual initSharedInstance:profile:target:options:globalCustomData:completionBlock:] + 1542
11 MyAppl_Tst 0x000000010974357a __70+[Tealium initSharedInstance:profile:target:options:globalCustomData:]_block_invoke + 64
12 libdispatch.dylib 0x000000010f215186 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x000000010f234614 _dispatch_client_callout + 8
14 libdispatch.dylib 0x000000010f21b6a7 _dispatch_queue_drain + 2176
15 libdispatch.dylib 0x000000010f21acc0 _dispatch_queue_invoke + 235
16 libdispatch.dylib 0x000000010f21e3b9 _dispatch_root_queue_drain + 1359
17 libdispatch.dylib 0x000000010f21fb17 _dispatch_worker_thread3 + 111
18 libsystem_pthread.dylib 0x000000010f5a1637 _pthread_wqthread + 729
19 libsystem_pthread.dylib 0x000000010f59f40d start_wqthread + 13
)
2015-08-24 15:14:08.785 MyAppl_Tst[69904:4377629] TEALIUM 4.1.11: Exception logged.
2015-08-24 15:14:08.786 MyAppl_Tst[69904:4377629] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM teal_stringifiedDictionary]: unrecognized selector sent to instance 0x7fc992d084c0'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ba56c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b397bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010ba5e0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010b9b413c ___forwarding___ + 988
4 CoreFoundation 0x000000010b9b3cd8 _CF_forwarding_prep_0 + 120
5 MyAppl_Tst 0x000000010974067e -[TealiumCommHandler addDispatch:completionBlock:] + 61
6 MyAppl_Tst 0x000000010975f21f -[TealiumActual dispatchActual:customData:callType:wasAutotracked:priority:completionBlock:] + 1195
7 MyAppl_Tst 0x000000010975c015 +[TealiumActual trackCallType:customData:object:autotracked:completionBlock:] + 1338
8 MyAppl_Tst 0x000000010974ac66 +[TEALExceptionHelper checkAndSendCrashLog] + 437
9 MyAppl_Tst 0x000000010975b972 +[TealiumActual initWithCompletionBlock:] + 1479
10 MyAppl_Tst 0x000000010975b322 +[TealiumActual initSharedInstance:profile:target:options:globalCustomData:completionBlock:] + 1542
11 MyAppl_Tst 0x000000010974357a __70+[Tealium initSharedInstance:profile:target:options:globalCustomData:]_block_invoke + 64
12 libdispatch.dylib 0x000000010f215186 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x000000010f234614 _dispatch_client_callout + 8
14 libdispatch.dylib 0x000000010f21b6a7 _dispatch_queue_drain + 2176
15 libdispatch.dylib 0x000000010f21acc0 _dispatch_queue_invoke + 235
16 libdispatch.dylib 0x000000010f21e3b9 _dispatch_root_queue_drain + 1359
17 libdispatch.dylib 0x000000010f21fb17 _dispatch_worker_thread3 + 111
18 libsystem_pthread.dylib 0x000000010f5a1637 _pthread_wqthread + 729
19 libsystem_pthread.dylib 0x000000010f59f40d start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
... View more