创buildiOS应用程序后退出代码1错误

我正在尝试使用RestKit构build我的项目,当我构build它时出现下面的错误。 我试过使用Apple LLVM 3.0和LLVM GCC 4.2编译,两者都产生相同的结果。 任何有什么想法是什么造成这个问题?

Ld "/Users/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Products/Debug-iphonesimulator/Line.app/Line" normal i386 cd "/Jim/Documents/Xcode Projects/Line" 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/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Products/Debug-iphonesimulator" "-F/Users/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Products/Debug-iphonesimulator" -filelist "/Users/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Intermediates/Line.build/Debug-iphonesimulator/Line.build/Objects-normal/i386/Line.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 ObjC -all_load -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework Security -framework MobileCoreServices -framework CFNetwork -framework SystemConfiguration -lxml2 "/Users/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Products/Debug-iphonesimulator/libRestKit.a" -framework CoreData -framework UIKit -framework Foundation -framework CoreGraphics -o "/Users/Jim/Library/Developer/Xcode/DerivedData/Line-dmzyzxolztfnmyeuzqkqcinpsoeq/Build/Products/Debug-iphonesimulator/Line.app/Line" Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 

在这里输入图像说明

atrljoe:您是否根据wiki页面“在Xcode 4.x中安装RestKit”在github.com/RestKit上构build了RestKit? 我认为有一点小错误。 这里是我的解决scheme:1.在“构build阶段” – >“与库链接二进制文件”中,删除RestKit.framework并添加Security.frameWork 2. build

那么它的工作。