简体   繁体   中英

Apple mach-O linker error, file not found

This is the error I get:

ld: file not found: /Users/Tom/Library/Developer/Xcode/DerivedData/DogiPad-ecwgmttugvxefyanpzmtfcovhaem/Build/Products/Debug-iphoneos/Dog.app/Dog clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried some solutions I found on google but nothing helped.. How to solve?

Your post does not contain sufficient information to determine what the problem is. You need to engage in standard troubleshooting techniques:

  • identify specific details implied by the error message but not explicitly stated: eg The message says a file isn't found, but not what file. Identify the file in question.
  • follow the troubleshooting instructions given in the error message: "Use -v to see invocation"
  • Once you have the exact command that produces the error message, determine what the command is intended to do, what it's actually doing, what it should be doing, what pre-requisites the command depends on, and if, how, and where those pre-requisites are being met.

At this point troublshooting is simply a search problem: follow the links to other build steps to figure out what should be happening that isn't or what isn't happening that should be. The problem could be anywhere in the build process and you have to understand build processes well enough to know what should be happening and see how that's different from what is happening.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM