pbattisson
pbattisson

Reputation: 1240

Mach-O Linker (Id) Error

I have just added the Google Tools for Mac OAuth classes to a project and get the following linker errorenter image description here

Any ideas what I need to do? It is an iPad app if that makes any difference.

Thanks for your help :-)

Upvotes: 1

Views: 847

Answers (1)

Joe
Joe

Reputation: 57169

The error is a result of redefining a symbol in your RootViewController. There are few possible reasons for this.

  1. In RootViewController you explicitly defined kGTMOAuth2ServiceProviderGoogle
  2. You used #include instead of #import
  3. You #import or #include the implementation file (.m)

Upvotes: 2

Related Questions