Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
build problems
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AppDev2012  
View profile  
 More options Aug 19 2012, 9:40 pm
From: AppDev2012 <amarzumkhaw...@gmail.com>
Date: Sun, 19 Aug 2012 18:40:57 -0700 (PDT)
Local: Sun, Aug 19 2012 9:40 pm
Subject: build problems

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile   Translate to Translated (View Original)
 More options Aug 20 2012, 9:53 pm
From: Greg Robbins <grobb...@google.com>
Date: Tue, 21 Aug 2012 10:53:12 +0900
Local: Mon, Aug 20 2012 9:53 pm
Subject: Re: build problems

When the library creates an instance of GDataFeedBase, it means there is no
feed class compiled into the application that matches the XML returned by
the server. The library uses a feed's "kind" attribute or category to match
the returned XML to the compiled classes.

Casting a GDataFeedBase instance to the desired class won't work, since it
was still the base class that was instantiated.

Incidentally, it would be worthwhile to revise your application to use the
JSON Analytics API and the new API library,
https://code.google.com/p/google-api-objectivec-client/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »