好的,所以我有 2 个项目。我想将一个类文件从项目 1 导入到项目 2。当我导入类文件时。我收到链接器错误。这是它的样子。
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ClassFile1", referenced from:
objc-class-ref in ClassFile2.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我该如何解决?