warning: ignoring file /Users/-----/Desktop/CSHandData/CSHandData/CSHandBag/libCSHand.a, missing required architecture x86_64 in file /Users/-----/Desktop/CSHandData/CSHandData/CSHandBag/libCSHand.a
1.. "_OBJC_CLASS_$_HandBluetooth", referenced from:
objc-class-ref in ViewController.o
2.. clang: error: linker command failed with exit code 1 (use -v to see invocation)
添加构建阶段 - >编译源 - >添加.m文件但我没有解决方案请建议解决此错误
答案 0 :(得分:1)
libCSHand.a没有x86_64架构,您可以将x86_64添加到静态框架中。
您可以使用此命令检查支持的体系结构。