简体   繁体   中英

Bad exc error when using Google Analytics 2.0 B4

Sample project, with Google Analytics usage [Xcode Project][1]

Actually i have create a phoneplugin for google analytics. My code seems to be working fine, but when i tried adding my code to an existing project , i am getting bad exc error. I really cant find why can the code work on a new project but doesnt work on a old project.

Code works really well in a new project. I can see the data in analytics dashboard and everything works fine in it

following the documentation :

First you will need a Google Analytics tracking ID to track application usage with the SDK.

Second continue by adding the header files (GAI.h, GAITracker.h, GAITransaction.h, and GAITransactionItem.h) and libGoogleAnalytics.a to your XCode project. Your app must link the following frameworks: 1- CoreData.framework 2- SystemConfiguration.framework

NB:To use a version of the library with debug symbols intact, link against libGoogleAnalytics_debug.a instead of libGoogleAnalytics.a. This may be useful if you experience exceptions or crashes originating in the SDK.

BR

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM