0

I have written an application that uses Google Identity Toolkit login, and it was working well until I updated to the latest version of Xcode and began developing for iOS 9. I had to install GITkit using Cocoapods, which seems to have been successful, but now upon compiling I get the following errors when I reference certain built-in classes. Also, I had to change my import statements from #import <GITkit/GITkit.h> to #import "GITkit.h".

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GITClient", referenced from: objc-class-ref in H2LoginViewController.o objc-class-ref in H2AppDelegate.o "_OBJC_CLASS_$_GITIDToken", referenced from: objc-class-ref in H2LoginViewController.o "_OBJC_CLASS_$_GITInterfaceManager", referenced from: objc-class-ref in H2LoginViewController.o "_kGITProviderFacebook", referenced from: -[H2AppDelegate application:didFinishLaunchingWithOptions:] in H2AppDelegate.o "_kGITProviderGoogle", referenced from: -[H2AppDelegate application:didFinishLaunchingWithOptions:] in H2AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help would be greatly appreciated. Thanks.

Hersh Bhargava
  • 615
  • 4
  • 19

1 Answers1

1

Can you try going through the CocoaPods troubleshooting page? Pay extra attention to the section "If Xcode can’t find the headers of the dependencies".

Chao Wei
  • 336
  • 1
  • 4
  • Thanks, this helped a lot, though I ended up just creating an entirely new project and following the CocoaPods installation and configuration instructions more carefully. – Hersh Bhargava Oct 24 '15 at 23:41