2014-11-24 134 views
0

我最近改变了我的项目名称,并认为我可能有链接问题。我昨天修改了我的Cocoapod文件以用于Mixpanel,并且从那以后一直收到不清楚的错误消息。'linker command failed','GenerateDSYMFile errors'和'Lipo error'

我删除了Mixpanel Cocoapod,所以我可以手动安装Mixpanel和git仓库。我在iOS项目目录中安装了git repo文件,但无法使Mixpanel正常工作。我决定恢复使用Cocoapod。

自从我做了这个改变后,我一直在得到'linker command failed','GenerateDSYMFile errors'和'Lipo error'。在问题出现之前,我已经将我的整个git回购恢复到原来的状态,但似乎无法动摇这些错误。

我删除了派生数据,快照并重新启动了xcode。我甚至试图在另一台计算机上运行相同的文件存储库。我仍然有问题。

对于好奇,仓库是在这里:https://github.com/NewPublicArtFoundation/GraffitiFound

的当前错误,我觉得是:

Ld /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/Public\ Art.temp_caseinsensitive_renameTests.xctest/Public\ Art.temp_caseinsensitive_renameTests normal x86_64 
    cd /Users/lbogdono/Spaceship/GraffitiFound 
    export IPHONEOS_DEPLOYMENT_TARGET=7.12 
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin" 
    /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/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator -F/Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/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/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Intermediates/Public\ Art.build/Debug-iphonesimulator/Public\ Art.Tests.build/Objects-normal/x86_64/Public\ Art.temp_caseinsensitive_renameTests.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -bundle_loader /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound -Xlinker -objc_abi_version -Xlinker 2 -framework XCTest -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.12 -Xlinker -dependency_info -Xlinker /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Intermediates/Public\ Art.build/Debug-iphonesimulator/Public\ Art.Tests.build/Objects-normal/x86_64/Public\ Art.temp_caseinsensitive_renameTests_dependency_info.dat -o /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/Public\ Art.temp_caseinsensitive_renameTests.xctest/Public\ Art.temp_caseinsensitive_renameTests 

ld: file not found: /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

回答

0

随着错误消息表明,你正在尝试将文件链接到你的可执行文件是不在磁盘上。具体而言,它无法找到/Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound我怀疑你正试图将它链接到意外的可执行文件,因为它在那里并不合适。您可能会不小心将“GraffitiFound.app”拖入目标的链接阶段。

相关问题