简体   繁体   中英

Error : Xcode Library not found for -ljpeg

Just after installing POD , I'm encountering this issue below.

ld: library not found for -ljpeg

是的,我得到了解决方案:1.打开终端2.输入以下代码

brew uninstall jpeg && brew install jpeg

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.

With .xcworkspace you should be able to run normally.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM