简体   繁体   English

Xcode 5 - clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

[英]Xcode 5 - clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am facing a linker error when running my source code, I have attached a screenshot also. 我在运行源代码时遇到链接器错误,我也附上了截图。 I am new in iOS development and so I am not able to get the error. 我是iOS开发的新手,所以我无法得到错误。 Any help would be much appreciated. 任何帮助将非常感激。 在此输入图像描述

Xcode has a bug in which it will double-escape quotes in a path. Xcode有一个错误,它会在路径中双重转义引号。 Note how the error on the screen you captured has ' \\" ' and such in it. These are in error. Correct it so it looks like a path, instead. 请注意您捕获的屏幕上的错误如何包含在其中。这些都是错误的。纠正它使它看起来像一条路径。

I note also that it appears that your project path has spaces in it. 我还注意到你的项目路径似乎有空格。 While technically allowed, this is never a good idea. 虽然技术上允许,但这绝不是一个好主意。 I'd suggest correcting that if you can. 如果可以,我建议纠正。

Finally, notice that Xcode has included an absolute path that refers to your user directory. 最后,请注意Xcode包含一个引用您的用户目录的绝对路径。 This will work for now, but not if you move the project. 这将暂时有效,但如果你移动项目则不行。 It's far better to make the path relative - search for this term if you're not familiar - to the root of your source code using the $SRCROOT variable. 如果您不熟悉,使用$ SRCROOT变量对源代码的根目录进行相对路径搜索更好。 Then it is portable. 然后它是便携式的。

Please check https://testflightapp.com/sdk/ios/doc/ 请检查https://testflightapp.com/sdk/ios/doc/

A library was not found, that testflight needs. 没有找到一个库,testflight需要。

Include that framework (lib) and you are done. 包括那个框架(lib),你就完成了。

暂无
暂无

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

相关问题 xcode中的错误:clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - error in xcode : clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 5- clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - Xcode 5- clang: error: linker command failed with exit code 1 (use -v to see invocation) 修复-Xcode 9.1-铛:错误:链接器命令失败,退出代码为1(使用-v查看调用) - Fix - Xcode 9.1 - clang: error: linker command failed with exit code 1 (use -v to see invocation) clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)Xcode 9 - clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 9 clang:错误:在xcode上进行单元测试时,链接器命令失败,退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) when doing unit test on xcode 铛:错误:链接器命令失败,在xcode 6中退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) in xcode 6 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)Xcode 10.2.1 - clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 10.2.1 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)Xcode - clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode clang:错误:Xcode 10.0和Ionic 3中的链接器命令失败,退出代码为1(使用-v查看调用) - clang: error: linker command failed with exit code 1 (use -v to see invocation) in Xcode 10.0 and Ionic 3 叮当:错误:链接器命令失败,退出代码为1(使用-v查看调用)Xcode 10,Xcode 10.1 Beta,Swift 4.2 - Clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 10, Xcode 10.1 Beta, Swift 4.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM