2015-04-23 119 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跑,我得到了这个解决方案。

相关问题