开发者

Mach-O Linker (Id) Error

开发者 https://www.devze.com 2023-03-16 14:05 出处:网络
I have just added the Google Tools for Mac OAuth classes to a project and get the following linker error

I have just added the Google Tools for Mac OAuth classes to a project and get the following linker error

Mach-O Linker (Id) Error

Any ideas what I need to do? It is an iPad app if that开发者_Python百科 makes any difference.

Thanks for your help :-)


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)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号