“Apple Mach-O Librarian (libtool) Error” When Build With Xcode 4.4“Apple Mach-O Librarian (libtool) Error” When Build With Xcode 4.4

I was developing and application using Xcode 4.1 build for iOS 4.3, but I want to update my Xcode version, so I downloaded using AppStore, so I can have Xcode 4.4. I thought the update would replace my last version. Now, when I build my application, the build failed, and I have this error:



Apple Mach-O Librarian (libtool) Error

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/libtool failed with exit code 1


So, I thought that maybe I have this problem because the Xcode 4.1, so I unistall (If still was installed) using this command:



sudo /Developer/Library/uninstall-developer-folder


But I still have that error, Anyone know how to solve it? Thanks in advance

xcode4.4-OTHER, iOS 5.1

Posted on Aug 16, 2012 8:48 AM

Reply
1 reply

Aug 16, 2012 9:53 AM in response to Beaker_

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u sr/bin/libtool: -dynamic not specified, -all_load invalid

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u sr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u sr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/SDKs/iPhoneSimulator5.1.sdk/usr/lib/libz.1.2.3.dylib (No such file or directory)

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/libtool failed with exit code 1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

“Apple Mach-O Librarian (libtool) Error” When Build With Xcode 4.4“Apple Mach-O Librarian (libtool) Error” When Build With Xcode 4.4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.