I had a working iPhone app that was accessing the Google Analytics service with the objective-c client. Now, after rebuilding with a new version of XCode, I am having problems and need suggestions on where to look.
The runtime problem occurs when I access methods of a returned GDataBaseFeed. When I call the aggregateGroup method, it now fails when it used to work.
GDataAnalyticsAggregateGroup* aggregate = [(GDataFeedAnalyticsData*)feed aggregateGroup];
2012-08-19 21:27:28.671 myapp[3452:4003] -[GDataFeedBase aggregateGroup]: unrecognized selector sent to instance 0xe665440
When I call [feed description] I do get information:
2012-08-19 21:27:28.515 myapp[3452:707] GDataFeedBase 0xe665440: {entries:32 title:Google Analytics Data for Profile XXXXXXXX updated:2012-08-20T01:27:28Z authors:1 links:self id:https://www.googleapis.com/analytics/v2.4/data?ids=ga:XXXXXXXX&dimens... unparsed:<dxp:aggregates>,<dxp:containsSampledData>,<dxp:dataSource>,<dxp:e ndDate>,<dxp:startDate>}
There is data in the feed evidenced by the 32 entries. Oddly the description mentions "unparsed." Is that my problem? If so how do I fix it.
Thanks
XCode 4.4, Mountain Lion 10.8