Skip to content

Steps required in addition to documented ones to avoid errors such as "'GTLObject.h'file not found" #64

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Follow instructions for linking app to the iOS Static Library at 
https://code.google.com/p/google-api-objectivec-client/wiki/BuildingTheLibrary
2. Build app in Xcode

What is the expected output? What do you see instead?

Compilation error: "'GTLObject.h'file not found"

What version of the product are you using? On what operating system?

Xcode 5.1.1 on OS X
google-api-objectivec-client from svn as of June 19, 2014

Please provide any additional information below.

The documentation states that "the static library target also creates a folder 
with the library's headers to drag into your target's sources." However, the 
corresponding directory contains only one header file GTLDefines.h and it 
apparently makes no reference to other required ones such as GTLObject.h, nor 
is there a folder that contains only header files.

To overcome the problem it appears necessary to manually add references to 
other required header files such as Objects/GTLObject.h into the app project as 
e.g. also mentioned at 
http://stackoverflow.com/questions/16343785/google-cloud-endpoints-linking-ios-c
lient-issues/16345497

It appears as if either the tool behavior or the cited documentation is wrong. 
(In any case, the documentation should spell out the name of the created 
folder.)

Original issue reported on code.google.com by [email protected] on 20 Jun 2014 at 5:12

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions