xCode: Library not found - lPods-Bolts - Exit Code 1

好久不见. 提交于 2019-12-01 18:00:20

Typically this can happen sometimes when one of your pod dependencies is accidentally added to the Build Phases pane under "Link Binary With Libraries" of your Targets settings.

Removing the library ".a" file from the Build Phase should do the trick.

My problem was that I changed the name of the project, so I reinstalled pods and in "Link Binary With Libraries" I had to delete "libPods-(old_pods_name).a" and also "Bolts.framework" and "Restkit.framework". Then reinstalled pods That worked for me!!!

I resolved this problem, by switching scheme to Pods-xxx, and build it first. Then, switch back to original project, and build it.

Let Pods-xxx build the necessary xxx.a first, resolve the dependency problem.

Switch scheme

On the toolbar, select

Product -> Scheme -> (Pods-xxx or original target)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!