解析启动项目登录和注册视图控制器错误 [英] Parse Starter Project LogIn and Register View Controllers Errors
问题描述
当我尝试使用Parse Starter项目时(我按照说明下载并安装它,但我还没有开发人员的许可证,所以没有推送通知),我有六个错误,所有关于引用twitter Mach-O Link错误。
这里是:
When I tried to use the Parse Starter Project (I downloaded it and installed it as per the instructions, but I don't have a developer's license yet, so no push notifications), I got six errors, all about referencing twitter Mach-O Link errors. Here they are:
架构i386的未定义符号:
Undefined symbols for architecture i386:
"_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 i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
推荐答案
我有同样的问题。解析的登录相关类要求您添加两个额外的框架,超出其快速入门文档中列出的框架:
I had this same issue. The login related classes for parse require you to add two additional frameworks beyond what is listed in their quick start documentation:
Social.framework
Accounts.framework
这些框架是iOS的一部分。只需转到项目构建阶段 - >链接二进制文件库并添加它们。我希望你觉得这很有用。
These frameworks are part of iOS. Simply go to the projects Build Phases->Link Binary with Libraries and add them. I hope you find this helpful.
这篇关于解析启动项目登录和注册视图控制器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!