错误:链接器命令失败,退出代码为1(使用-v查看调用)

时间:2015-04-23 11:31:16

标签: xcode6 ios8.1

我打算将xcode 4.3升级到xcode 6,同时运行我遇到了这个问题。请帮助我。

Ld Derived data/Build/Products/Debug-iphonesimulator/QR\ codeTests.octest/QR\ codeTests normal i386
    cd "/Users/iMac7/Desktop/Receipt Scan by vinod "
    export IPHONEOS_DEPLOYMENT_TARGET=5.0
    export 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 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk -L/Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ /ramesh/Build/Products/Debug-iphonesimulator -F/Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ /Derived data/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ /Derived data/Build/Intermediates/Warranty\ Info.build/Debug-iphonesimulator/QR\ codeTests.build/Objects-normal/i386/QR\ codeTests.LinkFileList -bundle_loader /Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ /Derived data/Build/Products/Debug-iphonesimulator/QR\ code.app/QR\ code -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ /Derived data/Build/Intermediates/Warranty\ Info.build/Debug-iphonesimulator/QR\ codeTests.build/Objects-normal/i386/QR\ codeTests_dependency_info.dat -o /Users/iMac7/Desktop/Receipt\ Scan\ by\ vinod\ //Build/Products/Debug-iphonesimulator/QR\ codeTests.octest/QR\ codeTests

1 个答案:

答案 0 :(得分:0)

退出xcode 6并在xcode中打开5.i得到错误255。 解决这个问题之后,我在xcode 6中运行,我得到了解决方案。