2011-08-02 7 views
0

これをデバッグする方法がわかりません。何時間も壁に頭を向けています。ここに私が持っているエラーがあります:llvm-gcc-4.2の取得​​に失敗して終了エラーが発生しました

Ld /Users/MyAccount/Library/Developer/Xcode/DerivedData/TAC-goimuvevceqxowccylmmpcflbtvz/Build/Products/Debug-iphonesimulator/TAC.app/TAC normal i386 
    cd "/Users/MyAccount/Desktop/Programming Stuff/iOS Programming/XCode 4/TAC" 
    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/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/MyAccount/Library/Developer/Xcode/DerivedData/TAC-goimuvevceqxowccylmmpcflbtvz/Build/Products/Debug-iphonesimulator -L/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/usr/lib "-L/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/usr/lib" -F/Users/MyAccount/Library/Developer/Xcode/DerivedData/TAC-goimuvevceqxowccylmmpcflbtvz/Build/Products/Debug-iphonesimulator "-F/Users/MyAccount/Desktop/Programming Stuff/iOS Programming/XCode 4/TAC" -filelist /Users/MyAccount/Library/Developer/Xcode/DerivedData/TAC-goimuvevceqxowccylmmpcflbtvz/Build/Intermediates/TAC.build/Debug-iphonesimulator/TAC.build/Objects-normal/i386/TAC.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -framework UIKit -framework Foundation -framework CoreGraphics -framework Security -framework CoreMotion -framework SystemConfiguration -framework CFNetwork -framework MobileCoreServices -lxml2.2 -lz.1.2.5 -o /Users/MasonSilber/Library/Developer/Xcode/DerivedData/TAC-goimuvevceqxowccylmmpcflbtvz/Build/Products/Debug-iphonesimulator/TAC.app/TAC 

ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/usr/lib/libxml2.2.dylib, missing required architecture i386 in file 
ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/usr/lib/libSystem.dylib, missing required architecture i386 in file 
ld: in /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/usr/lib/libobjc.A.dylib, missing required architecture i386 in file for architecture i386 
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1 

本当にありがとうございます。私は通常、問題を解決するために自分の努力をするのにもっと時間を費やすだろうが、どこから始めたらいいのか分からない。

答えて

2

あなたがSimulatorに対してビルドする場合、明示的にi386を有効なアーキテクチャとして追加する必要があります。また、 "iphonesimulator"を持っているプラ​​ットフォームの下にチェックしてください。プロジェクトファイルをクリックするだけで、右側のエディタでビルド設定が表示されます。これらの設定がそこにあります。それが役に立てば幸い。

1

関連するライブラリに32ビットのIntelアーキテクチャが欠けていると言われています。

あなたはGCC 4.2で持続している理由LLVM 2.0は、デフォルトのコンパイラで、GCC開発は(アップルの)シャットダウンされたとき、私はLLVM 2.1への切り替え時にやってみると、問題かどうかを確認

を求めるだろう残っている。

それはiOSの5としてGCCを使用するためにあなたに重要だとXcode 4.2は、あなたが追加するあらゆるlibrary.tryを追加するのを忘れてきたNDA

0

ある場合は、本当にアップルのDevフォーラムでこのバグについて質問する必要がありますこの問題を解決しました。

関連する問題