library not found for -lCloudinary

2019-07-10 07:55发布

问题:

Library not found whenever I added from pod.

I have already added pod from terminal.

Error:

ld:library not found for -lCloudinary

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

回答1:

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

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