合并代码之后,运行工程过程中提示这个error:
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
library not found for -IPods 就是说library 中没有 IPods.a 文件
解决办法:
进入项目的TARGETS
![](https://i-blog.csdnimg.cn/blog_migrate/55aa29ba337bfc1ee07992294685cd2c.webp?x-image-process=image/format,png)
TARGETS
在目录 Bulid Phases 下
![](https://i-blog.csdnimg.cn/blog_migrate/6e770eac6ab021354fd80cacec46c32d.webp?x-image-process=image/format,png)
Bulid Phases
在Link Binary With Libraries 中
![](https://i-blog.csdnimg.cn/blog_migrate/963625af6893ff6fadecf5bbe21c52a8.webp?x-image-process=image/format,png)
Link Binary With Libraries
找到那个文件点减号删掉,再点加号搜索是否存在那个.a文件,存在就加回来
end