I have installed Google tag manager through Cocoapods using "pod 'GoogleTagManager', '~> 5.0'". This has dependencies like "GoogleAnalytics (3.17.0)" and "GoogleUtilities (1.3.2)".
There is GoogleAnalytics library already included in my project and Can't delete this library due to some problems. So what i want to do is either
- Exclude this dependency (GoogleAnalytics) while "pod install"
or
- Remove this dependency after "pod install"
whichever is possible.
I found this link, but I am not aware of custom, local podspec file. Any help in this regard is much appreciable. Thank you.
pod GoogleAnalyticsandpod installshould do the job normally if it is removing the dependency. But, you are saying "can't delete this library". - KrishnaCA