Developer/usr/bin/libtool: No such file or directory

1,421 阅读1分钟

编译脚本用了这个库libtool,但是xcode的文件目录修改,导致找不到文件

可按照下列步骤操作:

As you are using Xcode 7, the libtool is located in the following path:

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

What you can do here is simply copy it, and then paste it to the error's specified location:

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

You should also paste the file in the following path if you are planing to run the app on a device:

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

if you didn't find the usr/bin just create a folder and call it usr, and another one inside it and call it bin. the paste the libtool inside it.