Objective c 构建iOS应用程序后退出代码1错误

Objective c 构建iOS应用程序后退出代码1错误,objective-c,ios,build,restkit,Objective C,Ios,Build,Restkit,我试图用RestKit构建我的项目,当我构建它时,我得到下面的错误。我曾经尝试过使用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

我试图用RestKit构建我的项目,当我构建它时,我得到下面的错误。我曾经尝试过使用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: 您是否根据github.com/RestKit上的wiki页面“在Xcode 4.x中安装RestKit”构建了RestKit?我想有点小错误。 以下是我的解决方案: 1.在“构建阶段”->“使用库链接二进制文件”中,删除RestKit.framework并添加Security.framework 2.再建


然后它就工作了。

你没有看到任何错误消息吗?这是唯一显示的东西。这很奇怪。运行命令
cd”/Jim/Documents/Xcode Projects/Line“&&MACOSX_DEPLOYMENT_TARGET=10.6 PATH=“/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/usr/sbin:/sbin”…clang命令提供了更多信息吗?
/Jim/Documents/Xcode Projects/Line
真的正确吗?如果目录不存在,我想
cd
应该以状态1退出。是的,我可以将cd刻录到该目录。谢谢你帮我节省了很多时间