找不到-lCloudinary的库 [英] library not found for -lCloudinary

查看:76
本文介绍了找不到-lCloudinary的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

找不到库,只要我从 pod 添加。

我已经

错误:


ld:找不到库-lCloudinary

ld:library not found for -lCloudinary

铛:错误:链接器命令失败,退出代码为1(使用-v进行调用)

clang: error: linker command failed with exit code 1 (use -v to se invocation)

推荐答案

执行必须使用 pod更新 >< YourProject> .xcworkspace 文件,而不是旧的< YourProject> .xcodeproj 文件。

When you perform pod install or pod update you must use the new <YourProject>.xcworkspace file instead of the old <YourProject>.xcodeproj file.

发生这种情况是因为 .xcworkspace 包含您的 .xcodeproj pods 。如果只运行 .xcodeproj ,则 pods 将丢失。

It happens because .xcworkspace contains your .xcodeproj and the pods. If you just run .xcodeproj the pods will be missing.

这篇关于找不到-lCloudinary的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆