简体   繁体   English

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

[英]linker command failed with exit code 1 (use -v to see invocation) error?

在此处输入图片说明 I am getting this below error can any one suggest me how to rectify this error. 我收到以下错误提示,有人可以建议我如何纠正此错误。 Here is my error 这是我的错误

 warning: ignoring file /Users/xyz/Downloads/CC3x/CC3x/libFTC_RELEASE.a, missing required architecture i386 in file /Users/xyz/Downloads/CC3x/CC3x/libFTC_RELEASE.a (2 slices)ignoring file /Users/xyz/Downloads/CC3x/CC3x/libFTC_DEBUG.a, missing required architecture i386 in file /Users/xyz/Downloads/CC3x/CC3x/libFTC_DEBUG.a (2 slices)

Undefined symbols for architecture i386:
 "_OBJC_CLASS_$_FirstTimeConfig", referenced from:
  objc-class-ref in CC3xUtility.o
  objc-class-ref in CC3xMainViewController.o
  objc-class-ref in CC3xMainViewController_iPad.o
 ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这意味着您正在尝试构建项目,并且i386是有效的体系结构之一,但其中包含的库没有i386切片。

归功于它通过将活动架构设置为YES在设备上为我工作。

Build settings -> enable bitcode : NO 构建设置->启用位码:否

and add the .a files from cc3000 project file to your project. 并将cc3000项目文件中的.a文件添加到您的项目中。

It worked for me 对我有用

暂无
暂无

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

相关问题 错误:链接器命令失败,退出代码为1(使用-v查看调用) - error: linker command failed with exit code 1 (use -v to see invocation) 错误“链接器命令失败,退出代码为1(使用-v查看调用)” - error “linker command failed with exit code 1 (use -v to see invocation)” 错误链接器命令失败,退出代码为 1(使用 -v 查看调用) - Error linker command failed with exit code 1 (use -v to see invocation) 链接器命令失败,退出代码为1(使用-v查看调用 - linker command failed with exit code 1 (use -v to see invocation 链接器命令失败,退出代码为1(使用-v查看调用) - Linker command failed with exit code 1(use -v to see invocation) xCode 7:链接器命令失败,退出代码为1(使用-v查看调用) - xCode 7: linker command failed with exit code 1 (use -v to see invocation) Xcode 8:链接器命令失败,退出代码为1(使用-v查看调用) - Xcode 8: linker command failed with exit code 1 (use -v to see invocation) 链接器命令失败,迅速退出代码为1(使用-v查看调用) - linker command failed with exit code 1 (use -v to see invocation) in swift 链接器命令失败,退出代码为1(使用-v查看调用)-Xcode - linker command failed with exit code 1 (use -v to see invocation) - Xcode XCode 7:链接器命令失败,退出代码为1(使用-v查看调用) - XCode 7 : linker command failed with exit code 1 (use -v to see invocation)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM