Question

I am trying to integrate Google APIs Objective-C Client Library in my application, I follow the guide given in this link. but now the problem is it is giving me 8 errors. And i am unable to understand where the problem is. Can any one guide me where the problem is, I am using xcode 4.6

_OBJC_CLASS_$_GTLCollectionObject", referenced from:

Était-ce utile?

La solution

Actually You have compiled that static library for Device only. To compile it for Simulator just select the "iPhone 6.x Simulator" or any whatever simulator version you have available in GTL.xcodeproject and compile that project. And follow that same process that is mentioned in tutorial.

After you have compiled and build, goto Organiser->Projects->GTL and click on the little arrow for Derived Data.

You will find libGTLTouchStaticLib.a file and Headers folder in derived data's project folder->Build->Products->Debug-iphonesimulator

First rename that static library because you have already added static library for device with the same name after that drag that file into your project.

Autres conseils

Try to add in project target build setting headers and frameworks search path to google API folder path.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top