我不想将 Twitter 或 Facebook 与我的 Parse 应用程序集成,并且我已经在我的登录屏幕上想要的代码中指定了这一点。我出现了 6 个错误:(我正在使用 Xcode 5 和最新版本的 Parse SDK)
Undefined symbols for architecture x86_64:
"_ACAccountTypeIdentifierTwitter", referenced from:
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
objc-class-ref 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)
"_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 x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
最佳答案
在 Targets、General、Linked Frameworks 和 Libraries 下添加:
- 社交框架
- Accounts.framework
关于ios - 解析推特SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23266338/