我遇到了以下错误消息:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_VTapManager", referenced from:
objc-class-ref in VTapManagerHelper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:1)
您是否尝试过启用动态框架?那对我有用。
要执行此操作,请转到工作区中的podfile并将其打开,然后:
#Uncomment the next line if you're using Swift or would like to use dynamic frameworks
remove the hash here -> #use_frameworks!
答案 1 :(得分:0)
这是次要的,但不要忘记退出Xcode并运行您的 yourProject.xcworkspace 而不是 yourProject.xcodeproj < / strong>安装CocoaPods后