我在添加XMLDictionaryParser文件后遇到链接错误,我在一些statckoverflow问题中看到他们建议从有效的体系结构中删除x86_64,但删除它会导致许多其他链接器错误。我添加了.h和。来自github- https://github.com/nicklockwood/XMLDictionary -
的XML文件来自XMLDictionaryParserUndefined symbols for architecture x86_64:
"_OBJC_CLASS_$_XMLDictionaryParser", referenced from:
objc-class-ref in LoginService.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)