我将java转换为objective-c,并通过bridging-header文件将其导入到swift项目中。当我构建 swift 项目时,出现以下错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DTPeople", referenced from:
type metadata accessor for __ObjC.DTPeople in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我为 libjre_emul.a 设置了正确的目录