无法在 Swift 中集成 parse.com

Cannot integrate parse.com in Swift

我正在尝试将我的 iOS 应用与 parse.com 连接并推送通知。 A 已添加框架。 因此,编译失败

Undefined symbols for architecture armv7:
  "_SLServiceTypeTwitter", referenced from:
      -[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
      -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.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)
  "_ACAccountTypeIdentifierTwitter", referenced from:
      -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
  "_OBJC_CLASS_$_ACAccountStore", referenced from:
      objc-class-ref in Parse(PF_Twitter.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

怎么了?

你能从这个图像中添加剩余的框架吗,它可能会解决你的问题

如果要使用 Twitter 和 Facebook 登录,还必须添加 Social.frameworkAccounts.framework

添加这些框架就可以了,文档中也提到了这一点 here