问题1:This app could not be installed at this time.
解决办法:pod install之后,重启xcworkspace和模拟器
问题2:Undefined symbols for architecture arm64:
Undefined symbols for architecture arm64:
"_iconv_open", referenced from:
libIDCardKernal::TextEncoding::IConv(void, int, int) in XXX.a(Markup.o)
"_iconv", referenced from:
libIDCardKernal::TextEncoding::IConv(void, int, int) in XXX.a(Markup.o)
"_iconv_close", referenced from:
libIDCardKernal::TextEncoding::IConv(void*, int, int) in XXX.a(Markup.o)
ld: symbol(s) not found for architecture arm64
解决办法:添加依赖库 libiconv.2.4.0.tbd
General-> Linked FrameWorks and Libraries-> 点"+" -> 搜icon,添加libiconv.2.4.0.tbd依赖库
然后重新进行编译!
问题3:Library not found for -lXXXXX
(1) 如果是没用到的库:
Build Settings-> Other Linker Flags -> 去掉-l"XXXX"
(2) 如果是第三方的库:
确认一下提供的.a或者.framework文件名,是不是最初生成的文件原始名字。。。重命名过也会找不到