退出code栋的iOS应用程序后,1错误 [英] Exit Code 1 Error after building iOS Application

查看:128
本文介绍了退出code栋的iOS应用程序后,1错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,当我建立它,我得到下面的错误来构建我的RestKit,项目。我曾尝试编译使用苹果LLVM 3.0和LLVM GCC 4.2和双方产生相同的结果。任何有什么是导致此问题的任何想法?

I am trying to build my project with RestKit, when I build it I get the error below. I have tried compiling using Apple LLVM 3.0 and LLVM GCC 4.2 and both produce the same result. Any have any ideas what is causing this issue?

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使得X code 4.x的安装RestKit打造RestKit?我觉得有一点点失误。
这里是我的解决方案:
1.在构建阶段 - >链接二进制与图书馆,删除RestKit.framework并添加Security.frameWork
2.再次建立

atrljoe: did you build RestKit according to the wiki page "Installing RestKit in Xcode 4.x" on github.com/RestKit? i think there is a little mistake. here is my solution: 1. in "Build Phases" -> "Link Binary With Libraries", delete the RestKit.framework and add Security.frameWork 2. build again

然后它工作。

这篇关于退出code栋的iOS应用程序后,1错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆