Code Monkey home page Code Monkey logo

googleanalyticsstripper's Introduction

GoogleAnalyticsStripper

This shell script strips all Tag libraries from google analytics 3.03a and creates library without any references to ASIdentifierManager.

Use this AS-IS for you own risk.

This library can be used with Cocoapods GoogleAnalytics.

IMPORTANT

My app successfully passed Apple Review with this library.

How to use

  1. Download Latest GoogleAnalytics SDK for iOS. Current version is 3.03a

  2. Copy script stripTag.sh into folder with libGoogleAnalyticsServices.a

  3. Open Terminal.app goto folder with GA lib and chmod stripTag.sh to allow execution

     chmod a+x stripTag.sh
    
  4. Run it from GA lib folder with command

     . stringTag.sh
    

    (dot, space, script name. Don't use slashed)

  5. libGoogleAnalyticsServices-strip.a should appear in this folder.

  6. Check it for ASIdentifierManager with this command

     nm libGoogleAnalyticsServices-strip.a | grep ASIdentifierManager
    
  7. Rename it into libGoogleAnalyticsServices.a and use it.

Cocoapods

Add GoogleAnalytics pod as usual, create sripped version of library and place it into

	$(ProjectDir)/Pods/GoogleAnalytics-iOS-SDK

Thanks

Special thanks to Falko Buttler for great idea from this post

https://groups.google.com/forum/#!topic/ga-mobile-app-analytics/0mr85C7704M

And thanks to author of this article

http://atnan.com/blog/2012/01/12/avoiding-duplicate-symbol-errors-during-linking-by-removing-classes-from-static-libraries

googleanalyticsstripper's People

Contributors

andreyzarembo avatar falkobuttler avatar

Stargazers

 avatar  avatar

Forkers

falkobuttler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.