Apple Mach-O linker warning won't go away
Asked Answered
M

3

25

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

Mcnulty answered 16/8, 2012 at 5:20 Comment(2)
Have u seen this similar thread #9459239 ??Adest
Thanks! worked perfectly for me!Mcnulty
M
41

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!

Mcnulty answered 21/8, 2012 at 17:26 Comment(0)
S
10

I found the reference which I had to delete at:

  • Target
  • Build Settings
  • Header Search Paths
Shirelyshirey answered 12/2, 2013 at 14:41 Comment(0)
B
6

Mine was under Framework Search Paths.

The easiest way to find where the bad path is, is to type a part of it in the search box on the top right. That will filter the list to only that one bad path. Deleting it, as the other answers suggest, fixes the problem.

See this answer for more info.

Beitnes answered 21/12, 2013 at 3:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.