AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

The GA SDK for iOS fails to link if a category is based on GAITrackedViewController #258

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: GA for IOS SDK 2.0 beta 4

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): XCode 4.5.2

Issue summary:

I get a generic linker error and assertion when creating a category based on 
GAITrackedViewController and including it into an iOS application.  The error 
occurs only with the production version of the library -- the debug library 
links perfectly under these circumstances.

Steps to reproduce issue:
1. Create an iOS application
2. Integrate with GAITrackedViewController for IOS 2.0 beta 4
3. Create a category such as GAITrackedViewController+helpers
4. Build + link the category into the application

Expected output:

I expect to be able to invoke category methods in classes derived from 
GAITrackedViewController.

Actual results:

Compilation succeeds, but the linker asserts and fails.

Notes:

Sorry, that's about all the detail I have handy right now.

Original issue reported on code.google.com by jmathie...@gmail.com on 20 Jan 2013 at 2:27