忽略文件,在文件中缺少必需的体系结构x86_64 ... / Social.framework / Social(3 Slices)

时间:2015-06-25 03:01:15

标签: ios xcode swift

我已经阅读了很多关于SO的问题并且没有在哪里决定发布这个。我删除了Twitter.framework,因为它是红色的,我已经有了Social.framwork,所以我有错误

Undefined symbols for architecture x86_64:
"_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)

然后我查了一条错误信息

 ignoring file /Users/saheelsehgal/Downloads/Social.framework/Social, missing required architecture x86_64 in file /Users/saheelsehgal/Downloads/Social.framework/Social (3 slices)

有任何帮助吗?我变得非常沮丧,我已经跟着那些SO答案并重新安装了Xcode 6.3.2并且还搞乱了架构。 enter image description here

任何帮助都将受到高度赞赏。谢谢!

1 个答案:

答案 0 :(得分:0)

  1. 删除您下载的Social框架
  2. 与Xcode附带的AccountsSocial框架相关联(按目标+设置中Linked Frameworks and Libraries下的General按钮)
  3. 建立并获利! enter image description here