美文网首页
iOS Command Libtool failed with

iOS Command Libtool failed with

作者: 请不要念出我的名字 | 来源:发表于2019-08-20 17:54 被阅读0次

error: /Users/Carol/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -ljpeg

error: /Users/Carol/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -ljpeg is not an object file(not allowed in a library)

Command Libtool failed with a nonzero exit code

Build Setting 中 搜索框中输入 “search”,出现如下画面:

在library 中 添加所需要的库。

但是需要注意的是,如果程序报错显示第三方库有重复的文件,那可能是库文件重复添加了,在上图中删除多余的库

相关文章

网友评论

      本文标题:iOS Command Libtool failed with

      本文链接:https://www.haomeiwen.com/subject/ddfmsctx.html