Apple Mach-O错误。每个应用都有这两个相同的错误

时间:2013-04-28 22:24:07

标签: xcode clang

我的所有应用程序都不再编译,然后出现2​​个Apple Mach-O错误。

这是Xcode所显示的:

Ld /Users/gjmolter/Library/Developer/Xcode/DerivedData/GabrielMolter-czxczgfsxgrgplbhjdrhmnwyrisr/Build/Products/Debug-iphonesimulator/GabrielMolter.app/GabrielMolter normal i386
    cd "/Users/gjmolter/Desktop/iOS Development/My Xcode Projects/GabrielMolter"
    setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/gjmolter/Library/Developer/Xcode/DerivedData/GabrielMolter-czxczgfsxgrgplbhjdrhmnwyrisr/Build/Products/Debug-iphonesimulator -F/Users/gjmolter/Library/Developer/Xcode/DerivedData/GabrielMolter-czxczgfsxgrgplbhjdrhmnwyrisr/Build/Products/Debug-iphonesimulator -filelist /Users/gjmolter/Library/Developer/Xcode/DerivedData/GabrielMolter-czxczgfsxgrgplbhjdrhmnwyrisr/Build/Intermediates/GabrielMolter.build/Debug-iphonesimulator/GabrielMolter.build/Objects-normal/i386/GabrielMolter.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/gjmolter/Library/Developer/Xcode/DerivedData/GabrielMolter-czxczgfsxgrgplbhjdrhmnwyrisr/Build/Products/Debug-iphonesimulator/GabrielMolter.app/GabrielMolter

clang: error: unable to execute command: posix_spawn failed: Exec format error
clang: error: linker command failed due to signal (use -v to see invocation)

1 个答案:

答案 0 :(得分:0)

要解决此问题,只需下载打开的包:  Xcode - >偏好 - >下载