symbol(s) not found for architecture x86_64

项目报错如下:

ld: warning: ignoring file /xxxx/xxxx/ZBarSDK/libzbar.a

ld: symbol(s) not found for architecture x86_64

项目设置支持64位,如下图:

 

原因:

ZBarSDK不支持64位所致。
支持64位的ZBarSDK微云下载链接:http://url.cn/Y52IJQ
原文地址:https://www.cnblogs.com/hw140430/p/4149214.html