我尝试将我的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)
有什么问题?
答案 0 :(得分:1)
您可以从此图片中添加剩余的框架,它可以解决您的问题
答案 1 :(得分:1)
如果您想使用Twitter和Facebook登录,您还必须添加Social.framework
和Accounts.framework
。
添加这些框架,您应该很高兴,文档here中也提到了这一点。