I’m arranging use of static lib. I’ve added the GData.xcodeproj file to my project and have added the static lib as a dependency. When I build my project, there is a definite firs bunch of compiles which I think is the Gdata lib being built, but when it comes time for my files the GData header files aren’t around. The wiki says...
The static library build creates a directory of header files that should be dragged into your application project. With the static library linked into your project, refer directly to the headers by omitting the framework name, like
#import "GDataCalendar.h"
But where is the new directory of header files that must be dragged into my project, for headers to be found? But wouldn’t one expect xcode to be smart enough to make these available anyway, since we’ve already declared a dependency? And why is the static lib built creating header files anyway? Aren’t they part of the GData source code already?
> -----Original Message-----
> From: gdata-objec...@googlegroups.com [mailto:gdata-
> objectiv...@googlegroups.com] On Behalf Of Tom Saxton
> Sent: Monday, 26 October 2009 2:50 AM
> To: gdata-objec...@googlegroups.com
> Subject: Re: How to add Gdata in iphone project for release.
>
>
The other thing trickie for an XCode newbie was where to find the
GDATA_INCLUDE_nameServiceHere_SERVICE definition. Ans: "Get Info">Build on
the lib target. Yet another place for project settings.
Happy to be learning anyway.
> -----Original Message-----
> From: gdata-objec...@googlegroups.com [mailto:gdata-
> objectiv...@googlegroups.com] On Behalf Of Tom Saxton
> Sent: Tuesday, 27 October 2009 3:06 PM
> To: gdata-objec...@googlegroups.com
> Subject: Re: How to add Gdata in iphone project for release.
>
>
Tom, thanks a lot!
The missing of "Link Binary With Libraries" tortured me for hours.
Googler, improve the doc, please!