且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:ld:找不到带有CocoaPods的-lPods的库

更新时间:2023-11-18 23:01:10

建议尝试以下,即工作对我来说:

Suggest trying the following, that worked for me:

a)从目标设置视图中的库中搜索,然后双击以检查库搜索路径的值

a) Search from 'Library' from the Target Settings view and double-click to inspect the value of Library Search Paths

b)列出了两个值 $(继承) $(PROJECT_DIR)/荚/建造/调试-的iPhoneOS 。删除后者。

b) There are two values listed $(inherited) and $(PROJECT_DIR)/Pods/build/Debug-iphoneos. Delete the latter.

c)做一个完整的清洁,构建和放大运行

c) Do a full clean, build & run

d)再次运行 pod install 。请注意,该条目未恢复。

d) Run pod install again. Notice that the entry is not restored.