忽略文件/[path]/libGooglePlus.a,在文件[path] /libGooglePlus.a中缺少必需的体系结构i386

时间:2013-08-22 07:07:16

标签: iphone ios shared-libraries google-plus

在我的google plus代码中我收到此错误。我的代码中出现此错误的问题

    _OBJC_CLASS_$_GTMLogger", referenced from:
      objc-class-ref in libGooglePlusUniversal.a(GPPShareBuilderImpl.o)
    "_OBJC_CLASS_$_GTMOAuth2Keychain", referenced from:
      objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)
    "_OBJC_CLASS_$_GTMOAuth2SignIn", referenced from:
      objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)
    "_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:
      objc-class-ref in libGooglePlusUniversal.a(GPPSignIn.o)

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:0)

你有没有添加像... libxml2.dylib,security,mapkit,corelocation,systemconfiguration框架等框架.... ??如果没有,那么添加这些框架,然后检查......

让我知道它的工作与否!!!!!

快乐的编码!!!!!!

答案 1 :(得分:0)

此警告表示您正在尝试使用模拟器(i386)为设备(ARM)制作的库。

相关问题