美文网首页
libtool: no such file or directo

libtool: no such file or directo

作者: megar | 来源:发表于2016-07-19 19:09 被阅读366次

    /Users/megar/Library/Developer/Xcode/DerivedData/xx-bkkhekijxcibccewtoocqmnvgujb/Build/Intermediates/xx.build/Release-iphoneos/xxx.build/Script-42084E15179E5E7A00B22F46.sh: line 102: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: No such file or directory

    xcode7.?上修改了libtool的位置,要分真机与模拟器分别处理下

    真机:

    cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin

    ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool  libtool

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool

    模拟器:

    mkdir -p /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/

    cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/

    ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool libtool

    相关文章

      网友评论

          本文标题:libtool: no such file or directo

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