Error when I added the Google iPhone API in my project!

Hi,

I'm writing an app where I need the Google iPhone API! So I added the API in my project but when I'm trying to build it it gives me an error.

Error:
*Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with code 1*

Could someone explain me what I need to do to get ride of this error?
I tried cleaning my project but that didn't help either!

Greetings
Kevin

UPDATE: I forgot to say that it gives me this error 218 times and each time on a file from the Google API!

Message was edited by: kevinp1988

MacBook Pro 15inch, Mac OS X (10.6.6)

Posted on Feb 11, 2011 9:15 AM

Reply
5 replies

Feb 11, 2011 10:48 AM in response to sptrakesh

Hi,

During my wait on my first (and quick reply) I tested if I had this problem each time when I added the API and this test was positif!

So I googled abit and came to this website ( http://johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/) This dude wrote a little guide on how to set up your project with the API!
After doing all this it still gives me errors!
Here is a screenshot: http://i42.photobucket.com/albums/e326/kartingfreak/Screenshot2011-02-11at194310 .png

To answer to your question: I just opened the Xcode project of the Google API and dragged the folder called 'GData Sources' to my project.

Greets
Kevin

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error when I added the Google iPhone API in my project!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.