Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64

时间:2022-03-06 23:04:15
问题:Undefined symbols for architecture x86_64:
     ld: symbol(s) not found for architecture x86_64
问题原因:所用的库不支持 X86_64架构
解决方法:在Target —> BuildSetting —> Architectures中修改为$(ARCHS_STANDARD_32_BIT)如下图:Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64
 
Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64