2015-04-23 49 views
0

我將升級xcode 4.3到xcode 6,同時運行我遇到此問題。請幫助我。錯誤:鏈接器命令失敗,退出代碼1(使用-v查看調用)

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 
+0

如果您在構建日誌中展開鏈接命令,那麼在「退出代碼1」行之前應該有一個更詳細的錯誤消息。 –

+0

這是我得到的信息,ld:找不到文件:/ Users/iMac7/Desktop/Receipt掃描vinod/Derived data/Build/Products/Debug-iphonesimulator/QR code.app/QR代碼 –

+0

@PhillipMills OCUnit(SenTestingKit )被棄用,請轉換爲XCTest.i也得到了waring消息 –

回答

0

退出的Xcode 6和開放在Xcode 5。我得到了錯誤255 後解決這個我在Xcode 6跑,我得到了這個解決方案。

相關問題