Steps required in addition to documented ones to avoid errors such as "'GTLObject.h'file not found"
Opened this issue · 1 comments
GoogleCodeExporter commented
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 tiptopl...@gmail.com
on 20 Jun 2014 at 5:12
GoogleCodeExporter commented
I forgot to explicitly mention that the error occurs in the context of using a
Google Cloud Endpoint [1] (not a service such as Google Calendar) in an iOS
client.
[1] https://developers.google.com/appengine/docs/java/endpoints/consume_ios
Original comment by tiptopl...@gmail.com
on 21 Jun 2014 at 6:15