How to use GTM without Cocoapod?

I am trying to use GTM in an application. So far, the application does not use CocoaPods and will not use CocoaPods. But GTM requires CocoaPods, and there seems to be no way to install GTM without CocoaPods. But I hope that it is possible to use GTM without CocoaPod. Can I?

+5
source share
1 answer

I also had the same requirement to just use the latest GTM SDK (GoogleTagManager 6.0.0) manually without using CocoaPods.

In particular, I wanted Google Tag Manager and Firebase to work together using the latest GTM SDK. According to the GTM minion, Firebase Analytics is also part of it.

PODS: - FirebaseAnalytics (4.0.5): - FirebaseCore (~> 4.0) - FirebaseInstanceID (~> 2.0) - GoogleToolboxForMac/NSData+zlib (~> 2.1) - nanopb (~> 0.3) - FirebaseCore (4.0.13): - GoogleToolboxForMac/NSData+zlib (~> 2.1) - FirebaseInstanceID (2.0.8): - FirebaseCore (~> 4.0) - GoogleAnalytics (3.17.0) - GoogleSymbolUtilities (1.1.2) - GoogleTagManager (6.0.0): - FirebaseAnalytics (~> 4.0) - GoogleAnalytics (~> 3.17) - GoogleUtilities (~> 1.3) - GoogleToolboxForMac/Defines (2.1.3) - GoogleToolboxForMac/NSData+zlib (2.1.3): - GoogleToolboxForMac/Defines (= 2.1.3) - GoogleUtilities (1.3.2): - GoogleSymbolUtilities (~> 1.1) - nanopb (0.3.8): - nanopb/decode (= 0.3.8) - nanopb/encode (= 0.3.8) - nanopb/decode (0.3.8) - nanopb/encode (0.3.8) DEPENDENCIES: - GoogleTagManager (~> 6.0) SPEC CHECKSUMS: FirebaseAnalytics: 5b02a63ead2c3f0259cfc7f15e053e440587ecf8 FirebaseCore: 3c02ec652db3d03fdc8bc6d9154af3e20d64b6f5 FirebaseInstanceID: 81df5805a08001e69138664bdd02c6719a9ac80f GoogleAnalytics: f42cc53a87a51fe94334821868d9c8481ff47a7b GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96 GoogleTagManager: 07acea48abe73aac17550b81bbf52a37db2d7dd6 GoogleToolboxForMac: 2501e2ad72a52eb3dfe7bd9aee7dad11b858bd20 GoogleUtilities: 8bbc733218aad26306f9d4a253823986110e3358 nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3 PODFILE CHECKSUM: 9fb79e19d2581767c5e955bd118e6f1c6160cb04 COCOAPODS: 1.3.1 
0
source

Source: https://habr.com/ru/post/1272771/


All Articles