0

我在下面收到此错误消息。我已经在stackoverflow上尝试了surgestion并搜索了其他解决方案,但它们不起作用。有人能帮忙吗?

>  setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv 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/iPhoneSimulator6.0.sdk -L/Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Products/Debug-iphonesimulator -F/Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist "/Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Intermediates/tab project.build/Debug-iphonesimulator/tab projectTests.build/Objects-normal/i386/tab projectTests.LinkFileList" -bundle_loader "/Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Products/Debug-iphonesimulator/tab project.app/tab project" -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework SenTestingKit -framework UIKit -framework Foundation -o "/Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Products/Debug-iphonesimulator/tab projectTests.octest/tab projectTests"

ld: file not found: /Users/stuart/Library/Developer/Xcode/DerivedData/tab_project-evwkhgsuxscoetcgithrfgftafyk/Build/Products/Debug-iphonesimulator/tab project.app/tab project
clang: error: linker command failed with exit code 1 (use -v to see invocation)
4

1 回答 1

0

您可能已通过拖放将文件添加到您的解决方案/项目中。

尝试这个:

  1. 选择您的项目
  2. 转到构建阶段选项卡
  3. 展开编译源
  4. 点击“+”并添加您想要包含在构建中的所有 *.m 文件
于 2012-10-12T14:05:00.927 回答