Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Mach-O linker warning won't go away

Tags:

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

like image 209
cory ginsberg Avatar asked Aug 16 '12 05:08

cory ginsberg


2 Answers

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!

like image 111
cory ginsberg Avatar answered Oct 10 '22 03:10

cory ginsberg


I found the reference which I had to delete at:

  • Target
  • Build Settings
  • Header Search Paths
like image 21
Jasper Avatar answered Oct 10 '22 05:10

Jasper