RestKit/RestKit — Issue #456: build failed with Xcode 4.2 
Author: PengHub
Created: 2011-12-06 08:44:52+00:00
State: open

i wanted to install RestKit in my Xcode 4.2 according to the wiki page "Installing RestKit in Xcode 4.x", but always got the build error "Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1" and the detail is :

/Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator/RestKitSecond.app/RestKitSecond normal i386
cd /Users/labuser/Desktop/MyProject/RestKitSecond
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator -F/Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator -filelist /Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Intermediates/RestKitSecond.build/Debug-iphonesimulator/RestKitSecond.build/Objects-normal/i386/RestKitSecond.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 /Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator/RestKit/RestKit -lxml2 -framework SystemConfiguration -framework MobileCoreServices -framework CoreData -framework CFNetwork /Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator/libRestKit.a -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/labuser/Library/Developer/Xcode/DerivedData/RestKitSecond-dfabxikpntrzihfdrlkxqxnfcvbo/Build/Products/Debug-iphonesimulator/RestKitSecond.app/RestKitSecond