gpt4 book ai didi

ios - 体系结构 x86_64 : "_OBJC_CLASS_$_HandBluetooth", 的 undefined symbol 引用自:

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:12:42 33 4
gpt4 key购买 nike

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)

添加 Build Phases -> Compile Sources -> Add .m File But I have No solution Please Suggest solve this error

最佳答案

您的libCSHand.a 没有x86_64 架构,您可以将x86_64 添加到您的静态框架。

您可以使用此命令检查支持的体系结构。

  1. lipo -info libCSHand.a
  2. xcrun -sdk iphoneos lipo -info libCSHand.a
  3. 文件 libCSHand.a

关于ios - 体系结构 x86_64 : "_OBJC_CLASS_$_HandBluetooth", 的 undefined symbol 引用自:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35644987/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com