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

你可能感兴趣的:(libtool: no such file or directory)