可可豆荚马赫错误

时间:2014-07-19 12:13:35

标签: ios objective-c cocoa

我刚为我的ios应用程序安装了cocoapods。我安装后,我不断得到苹果马赫错误。我该如何调试或解决这个问题?

Undefined symbols for architecture i386:
  "_ACAccountTypeIdentifierTwitter", referenced from:
      -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
  "_FBTokenInformationExpirationDateKey", referenced from:
      -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in     Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o)
  "_FBTokenInformationTokenKey", referenced from:
      -[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o)
  "_FBTokenInformationUserFBIDKey", referenced from:
      -[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o)
  "_OBJC_CLASS_$_ACAccountStore", referenced from:
      objc-class-ref in Parse(PF_Twitter.o)
      "_OBJC_CLASS_$_FBAppCall", referenced from:
      objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
      "_OBJC_CLASS_$_FBRequest", referenced from:
          objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
      "_OBJC_CLASS_$_FBSession", referenced from:
      objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
      "_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from:
          _OBJC_CLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
      "_OBJC_CLASS_$_SLComposeViewController", referenced from:
          objc-class-ref in Parse(PF_Twitter.o)
      "_OBJC_CLASS_$_SLRequest", referenced from:
          objc-class-ref in Parse(PF_Twitter.o)
      "_OBJC_METACLASS_$_FBSessionTokenCachingStrategy", referenced from:
          _OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
      "_SLServiceTypeTwitter", referenced from:
          -[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
          -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
    ld: symbol(s) not found for architecture i386

1 个答案:

答案 0 :(得分:1)

看起来你正在尝试使用Parse但是你缺少一些Twitter和facebook的框架。

This post有更多详情