2011-12-05 8 views
0

私はRestKitでプロジェクトをビルドしようとしています。ビルドするときにエラーが表示されます。私はApple LLVM 3.0とLLVM GCC 4.2を使ってコンパイルしようとしましたが、どちらも同じ結果を生み出しています。この問題の原因は何ですか?終了コード1 iOSアプリケーションをビルドした後のエラー

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 

enter image description here

+0

エラーメッセージは表示されません。 –

+0

それは表示されている唯一のものです。 – atrljoe

+0

それは変です。/cdrom/Jim/Documents/Xcode Projects/Line "&& MACOSX_DEPLOYMENT_TARGET = 10.6 PATH ="/Developer/Platforms/iPhoneSimulator.platform /開発者/ usr/bin:/開発者/ usr/bin:/ usr/bin :/ bin:/ usr/sbin:/ sbin "... clangコマンド.."ターミナルでこれ以上の情報はありませんか? –

答えて

3

atrljoe: はあなたがgithub.com/RestKitの "Xcodeの4.xでRestKitのインストール" をwikiページによるとRestKit構築したのですか?私は少し間違いがあると思う。ここ は私のソリューションです: 1.「フェーズを構築する」に - それは動作しますが、>「リンク・バイナリとライブラリ」RestKit.frameworkを削除し、再び2ビルド

をSecurity.frameWork を追加します。

+0

Thxあなたは私の多くの時間を節約しました – sachin

関連する問題