
在Info中的General最下方的Linked Frameworks and Libraries中添加WebKit.framework框架

2、项目嵌入环信UI,导致出现下方6个错误 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_64clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决方法:在TARGETS—Build Phases—Link Binary With Libraries 中添加以下两个库即可解决Social.frameworkAccounts.framework

像以上几个问题都是缺少框架导致的,有的时候我们不知道缺少什么框架,那就看每一对””括起来的部分,这部分的前缀都是框架的缩写,如果缩写也看不出来是哪个框架的话,只能通过缩写的第一个首字母查看了,然后根据显示出来的库的名称去匹配
3、Xcode上方显示一个错误,点击错误,不显示详细的错误信息的解决:

