首页 文章

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

提问于
浏览
1

有人可以帮我解决这个错误吗?链接器命令失败,退出代码为1(使用-v查看调用)

这是带错误的文本:

Ld /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator/ChickenButtTests.xctest/ChickenButtTests normal x86_64
    cd "/Users/Wendy/Desktop/Sound A Plenty"
    export IPHONEOS_DEPLOYMENT_TARGET=8.1
    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 x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator -F/Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -filelist /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Intermediates/ChickenButt.build/Debug-iphonesimulator/ChickenButtTests.build/Objects-normal/x86_64/ChickenButtTests.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -bundle_loader /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator/Sound\ A\ Plenty.app/Sound\ A\ Plenty -Xlinker -objc_abi_version -Xlinker 2 -framework XCTest -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Intermediates/ChickenButt.build/Debug-iphonesimulator/ChickenButtTests.build/Objects-normal/x86_64/ChickenButtTests.swiftmodule -mios-simulator-version-min=8.1 -Xlinker -dependency_info -Xlinker /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Intermediates/ChickenButt.build/Debug-iphonesimulator/ChickenButtTests.build/Objects-normal/x86_64/ChickenButtTests_dependency_info.dat -o /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator/ChickenButtTests.xctest/ChickenButtTests

ld: file not found: /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator/Sound A Plenty.app/Sound A Plenty
clang: error: linker command failed with exit code 1 (use -v to see invocation)

以及这里的照片:http://tinypic.com/view.phppic=2aaj28w&s=8#.VZ6sXe1Viko

我想我更改了我的图标图像时出现此错误 .

2 回答

  • 0

    我相信你的回答是这样的:

    ld: file not found: /Users/Wendy/Library/Developer/Xcode/DerivedData/ChickenButt-bmsbdabratidppbftwocobuuxllt/Build/Products/Debug-iphonesimulator/Sound A Plenty.app/Sound A Plenty
    

    当您更改图标图像时,您是否更改了它的名称?

  • 0

    这解决了我的问题 . 只需转到Build Setting中的 Enable Bitcode ,然后将其更改为 No

    相信:New warnings in iOS 9

相关问题