简体   繁体   English

xcode错误:链接器命令失败,退出代码为1 googletoolboxmac

[英]xcode error: linker command failed with exit code 1 googletoolboxmac

ld: warning: directory not found for option '-F/Users/nicksfikas/Library/Developer/Xcode/DerivedData/Tic_Toe-alfdrybbuuvwxqfdmqfxrrljmyli/Build/Intermediates.noindex/SwiftMigration/Tic Toe/Products/Debug-iphoneos/GoogleToolboxForMac' ld: framework not found GoogleToolboxForMac clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:警告:未找到选项'-F / Users / nicksfikas / Library / Developer / Xcode / DerivedData / Tic_Toe-alfdrybbuuvwxqfdmqfxrrljmyli / Build / Intermediates.noindex / SwiftMigration / Tic Toe / Products / Debug-iphoneos / GoogleToolbox的目录:找不到框架GoogleToolboxForMac clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

what should I do? 我该怎么办?

This is because a 3rd party library is missing from your system.. 这是因为系统中缺少第3方库。

try 尝试

I encountered the same problem and my solution is as follow: 我遇到了同样的问题,我的解决方案如下:

Close the current project in xcode ---> Go to your project file and open the project by clicking the .xcworkspace file. 在xcode中关闭当前项目--->转到项目文件,然后单击.xcworkspace文件打开项目。 Note: not the .xodeproj file. 注意:不是.xodeproj文件。

or 要么

You can clean the project in Product Tab and select clean. 您可以在“产品”选项卡中清洁项目,然后选择“清洁”。 To build select build in product tab in Xcode. 要构建,请在Xcode的产品标签中选择构建。

hope it works.. :) 希望它能工作.. :)

也许您安装了一个pod文件,但您仍在尝试从.xcodeproj文件而不是.xcworkspace进行构建

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

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