简体   繁体   English

Xcode-链接器命令失败,退出代码为1

[英]Xcode - linker command failed with exit code 1

I am a noob in Xcode at this moment, I try to run one poject with Emulator but I receive this error: 我目前在Xcode中是菜鸟,我尝试使用Emulator运行一个poject,但收到此错误:

duplicate symbol _llvm.cmdline in:
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.embedded.module in:
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.cmdline in:
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
duplicate symbol _llvm.embedded.module in:
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
    /Users/dpulgarin/Projects/runator-ios/Runator/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
ld: 184 duplicate symbols for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have no idea what might happen, I would like help to solve it. 我不知道会发生什么,我想帮助解决它。

Thanks in advance. 提前致谢。

Its an issue with the latest Facebook SDK (Sept 10th 2015). 最新的Facebook SDK(2015年9月10日)存在问题。 Download the release before it. 先下载该版本。

See this answer https://stackoverflow.com/a/32519847/1052084 which worked for me. 看到这个答案对我有用的https://stackoverflow.com/a/32519847/1052084

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM