gpt4 book ai didi

ios - 忽略文件,文件 .../Social.framework/Social(3 片)中缺少所需的架构 x86_64

转载 作者:行者123 更新时间:2023-11-30 14:16:55 27 4
gpt4 key购买 nike

我已经阅读了很多关于 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. 删除您下载的Social框架
  2. 链接到 Xcode 附带的 AccountsSocial 框架(按链接的框架和库下的 + 按钮code> 在您的目标常规设置中)
  3. build 并盈利! enter image description here

关于ios - 忽略文件,文件 .../Social.framework/Social(3 片)中缺少所需的架构 x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31040483/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com