我遇到以下错误消息:
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)
您是否尝试过启用动态框架?对我有用。
这样做转到工作空间中的Podfile并打开它,然后:
#Uncomment the next line if you're using Swift or would like to use dynamic frameworks
remove the hash here -> #use_frameworks!
它是次要的,但是不要忘记退出Xcode并运行您的 yourproject.xcworkspace 而不是yourproject.xcodeproj 安装CocoApods