-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Have a problem with GoogleTagManager.
[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.3.1 (11C504)
- Firebase SDK version: 6.18.0
- Firebase Component: Analytics, GoogleTagManager
- Component version: 7.1.2
- Installation method:
CocoaPods
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
After updating the frameworks from:
pod 'Firebase/Analytics', '~> 4.0'
pod 'Firebase/Core', '~> 4.0'
pod 'Firebase/Messaging', '~> 4.0'
pod 'Firebase/RemoteConfig', '~> 4.0'
pod 'Firebase/Performance', '~> 4.0'
pod 'GoogleIDFASupport', '~> 3.14'
pod 'GoogleTagManager', '~> 6.0'
to
pod 'Firebase', '~> 6.0'
pod 'FirebaseAnalytics', '~> 6.0'
pod 'FirebaseMessaging', '~> 4.0'
pod 'FirebaseRemoteConfig', '~> 4.0'
pod 'FirebasePerformance', '~> 3.0'
pod 'GoogleIDFASupport', '~> 3.0'
pod 'GoogleTagManager', '~> 7.0'
Relevant Code:
after launch app have a crash with error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM length]: unrecognized selector sent to instance 0x6000017ae9e0'
And below is the stack trace:
2020-03-04 17:03:56.752652+0300 App[1768:14561950] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2020-03-04 17:03:56.752814+0300 App[1768:14561950] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'parameters' on Entity 'GAIHit' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
2020-03-04 17:03:56.754134+0300 App[1768:14561912] GoogleTagManager info: Sending universal analytics hit: {
"&t" = screenview;
"&tid" = {
collectAdid = 0;
enableFirebaseEcommerce = 0;
enableRecaptchaOption = 0;
enableUaRlsa = 0;
enableUseInternalVersion = 0;
trackingId = "UA-60335261-1";
};
}
2020-03-04 17:03:56.755476+0300 App[1768:14561912] GoogleTagManager info: Processing logged event: _vs with parameters: {
"_o" = auto;
"_sc" = RootViewController;
"_si" = "-4581020004564787938";
}
2020-03-04 17:03:56.757689+0300 App[1768:14561912] GoogleTagManager info: Sending universal analytics hit: {
"&t" = screenview;
"&tid" = {
collectAdid = 0;
enableFirebaseEcommerce = 0;
enableRecaptchaOption = 0;
enableUaRlsa = 0;
enableUseInternalVersion = 0;
trackingId = "UA-60335261-1";
};
}
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c91fd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23c75c4c ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23c77f78 _CF_forwarding_prep_0 + 120
5 App 0x000000010c7bc6cf -[GAIBatchingDispatcher queueDispatch:] + 385
6 App 0x000000010c7bc534 -[GAIBatchingDispatcher queueModel:] + 125
7 Foundation 0x00007fff25781c30 __NSThreadPerformPerform + 259
8 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
9 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76
10 CoreFoundation 0x00007fff23bd3b74 __CFRunLoopDoSources0 + 180
11 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263
12 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
13 Foundation 0x00007fff2576b86f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
14 Foundation 0x00007fff2576ba87 -[NSRunLoop(NSRunLoop) run] + 76
15 App 0x000000010c7a9e0a +[GAI threadMain:] + 62
16 Foundation 0x00007fff257817a7 __NSThread__start__ + 1047
17 libsystem_pthread.dylib 0x00007fff52466e65 _pthread_start + 148
18 libsystem_pthread.dylib 0x00007fff5246283b thread_start + 15
)
Ours App works perfect without GoogleTagManager(
Podfile.lock
- Firebase (6.18.0):
- Firebase/Core (= 6.18.0)
- Firebase/Core (6.18.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 6.3.0)
- Firebase/CoreOnly (6.18.0):
- FirebaseCore (= 6.6.3)
- FirebaseABTesting (3.1.2):
- FirebaseAnalyticsInterop (~> 1.3)
- FirebaseCore (~> 6.1)
- Protobuf (>= 3.9.2, ~> 3.9)
- FirebaseAnalytics (6.3.0):
- FirebaseCore (~> 6.6)
- FirebaseInstallations (~> 1.1)
- GoogleAppMeasurement (= 6.3.0)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- FirebaseAnalyticsInterop (1.5.0)
- FirebaseCore (6.6.3):
- FirebaseCoreDiagnostics (~> 1.2)
- FirebaseCoreDiagnosticsInterop (~> 1.2)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Logger (~> 6.5)
- FirebaseCoreDiagnostics (1.2.1):
- FirebaseCoreDiagnosticsInterop (~> 1.2)
- GoogleDataTransportCCTSupport (~> 1.3)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Logger (~> 6.5)
- nanopb (~> 0.3.901)
- FirebaseCoreDiagnosticsInterop (1.2.0)
- FirebaseInstallations (1.1.0):
- FirebaseCore (~> 6.6)
- GoogleUtilities/UserDefaults (~> 6.5)
- PromisesObjC (~> 1.2)
- FirebaseInstanceID (4.3.2):
- FirebaseCore (~> 6.6)
- FirebaseInstallations (~> 1.0)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/UserDefaults (~> 6.5)
- FirebaseMessaging (4.3.0):
- FirebaseAnalyticsInterop (~> 1.5)
- FirebaseCore (~> 6.6)
- FirebaseInstanceID (~> 4.3)
- GoogleUtilities/AppDelegateSwizzler (~> 6.5)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Reachability (~> 6.5)
- GoogleUtilities/UserDefaults (~> 6.5)
- Protobuf (>= 3.9.2, ~> 3.9)
- FirebasePerformance (3.1.10):
- FirebaseCore (~> 6.6)
- FirebaseInstanceID (~> 4.3)
- FirebaseRemoteConfig (~> 4.4)
- GoogleToolboxForMac/Logger (~> 2.1)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/ISASwizzler (~> 6.2)
- GoogleUtilities/MethodSwizzler (~> 6.2)
- GTMSessionFetcher/Core (~> 1.1)
- Protobuf (~> 3.9)
- FirebaseRemoteConfig (4.4.8):
- FirebaseABTesting (~> 3.1)
- FirebaseAnalyticsInterop (~> 1.4)
- FirebaseCore (~> 6.2)
- FirebaseInstanceID (~> 4.2)
- GoogleUtilities/Environment (~> 6.2)
- "GoogleUtilities/NSData+zlib (~> 6.2)"
- Protobuf (>= 3.9.2, ~> 3.9)
- GoogleAnalytics (3.17.0)
- GoogleAppMeasurement (6.3.0):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- GoogleDataTransport (4.0.1)
- GoogleDataTransportCCTSupport (1.4.1):
- GoogleDataTransport (~> 4.0)
- nanopb (~> 0.3.901)
- GoogleIDFASupport (3.14.0)
- GoogleSymbolUtilities (1.1.2)
- GoogleTagManager (7.1.2):
- FirebaseAnalytics (~> 6.0)
- GoogleAnalytics (~> 3.17)
- GoogleUtilitiesLegacy (~> 1.3)
- GoogleToolboxForMac/Defines (2.2.2)
- GoogleToolboxForMac/Logger (2.2.2):
- GoogleToolboxForMac/Defines (= 2.2.2)
- "GoogleToolboxForMac/NSData+zlib (2.2.2)":
- GoogleToolboxForMac/Defines (= 2.2.2)
- GoogleUtilities/AppDelegateSwizzler (6.5.1):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (6.5.1)
- GoogleUtilities/ISASwizzler (6.5.1)
- GoogleUtilities/Logger (6.5.1):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (6.5.1):
- GoogleUtilities/Logger
- GoogleUtilities/Network (6.5.1):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (6.5.1)"
- GoogleUtilities/Reachability (6.5.1):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.5.1):
- GoogleUtilities/Logger
- GoogleUtilitiesLegacy (1.3.2):
- GoogleSymbolUtilities (~> 1.1)
- GTMSessionFetcher/Core (1.3.1)