Pod 增加了一个第三方库 完成后编译错误 错误内容Undefined symbols for architecture x86_64: "xxxx", referenced from “xxxx.o”
试了n多种方法始终没有解决 尝试过的方法有:
1.build setting 里header search paths | framework search paths |library search paths 里分别追加报错相关内容
2.build phase 里 compile source里追加类 等
最后我的这的问题解决方式:build setting 里 other link flags 里追加 -force_load $(SRCROOT)/… 这里是具体的.a 文件
注意追加位置最好放在最后一个 不要加在其它命令中间 如 -framework “xxxxxx.x”两行中间 这两行是一个命令 否则就报错啦