duplicate symbol _base64_encode in: /Users/developer/Library/Developer/Xcode/DerivedData/WeiZhiBusiness-eigzajekuxktmoaanpilkqtbhvla/Build/Intermediates/WeiZhiBusiness.build/Debug-iphonesimulator/WeiZhiBusiness.build/Objects-normal/x86_64/base64.o
解决办法:
bugbase64.png "_iconv", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
"_iconv_close", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
"_iconv_open", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
"_iconv_open", referenced from:
__nl_find_msg inGStreamer(libintl_a_i386_-dcigettext.o)
这些错误并非是配置不正确,而是需要增加libiconv.dylib这个库,把coreVideo.FrameWork加进去!CoreMedia.FrameWork AVFoundation加进去.增加之后就可以正常编译运行了,
网友评论