libtool: no such file or directory

/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

    原文作者:megar
    原文地址: https://www.jianshu.com/p/154661c5b2f9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞