Xcode – Apple Mach-O linker warning won’t go away

mach-owarningsxcode

I have had this Apple Mach-O linker warning in my project for a few days now. It is more annoying than anything, but I fear that it may somehow be affecting my app's performance (I have had so many weird issues with Xcode, that I wouldn't doubt anything at this point). The warning says:

warning: directory not found for option '-L/Volumes/ZBarSDK/ZBarSDK'

I have no idea what can be causing this or how to fix it. I have a folder in my app called ZBarSDK, but adding another ZBarSDK does not fix the problem! I tried searching my computer for a Volumes folder with no luck, either it's not there, or Apple hid it pretty well. Please let me know what I can do to fix this

Best Answer

What I needed to do:

  1. Click on your project (targets)
  2. Click on Build Settings Under Library Search Paths
  3. delete the path

Worked wonders!