[英]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.