xcode - Adding Google Objective-C API 'GTL' to iPhone project -
how add google drive api iphone project can use it?
so far, have dragged gtl project current app project (so nested under app project). then, under app target's build phases, added gtl.framework, , added gtl.framework 'link binary libraries' (see attached pic). throws following error:
clang: error: no such file or directory: '/users/xxx/library/developer/xcode/deriveddata/golf-hfbczyaemhyzgvbrtgdxqnlzeuaa/build/products/debug-iphonesimulator/gtl/gtl'
how fix this?
i struggled error message well. how solved it:
make sure have added folder service using under gtlsource/common/ (e.g., add drive folder googledrive).
under gtl.xcodeproj (that have added workspace) find gtlsource folder , drag main project (golf in case). done!
now can remove references gtl.xcodeproj have added workspace.
with approach, don't need add libraries (so remove them list of linked libraries if have added them).
the google api documentation nothing apple's documentation (it's not good).
i should mention i'm building app ios , not macosx, should work osx well.
Comments
Post a Comment