Apple Mach-O Linker Warning "Catalog not found for option ..."

I just want to get rid of the warnings that appear like this:

ld: warning: directory not found for option '-F/Users/m/Desktop/FacebookSDK' ld: warning: directory not found for option '-F/Users/m/Desktop/FacebookSDK/FBAudienceNetwork' ld: warning: directory not found for option '-F/Users/gavin/Downloads/shaffiulla11-bat-b86d81d8adc6' ld: warning: directory not found for option '-F/Users/gavin/Desktop/shaffiulla11-bat-b86d81d8adc6' ld: warning: ignoring file /Users/Gavin/Desktop/FacebookSDK/Bolts.framework/Bolts, missing required architecture x86_64 in file /Users/Gavin/Desktop/FacebookSDK/Bolts.framework/Bolts (2 slices) 

Obviously, now I use different directories because of the multiple reformatting of my disk due to problems with the Logic Board and just wanted to know which of the most convenient ways I can get rid of these errors. Thanks for the time and help.

+62
ios objective-c linker-errors
Jan 05 '15 at 1:05
source share
2 answers

Go to your project settings and remove the extra Frameworks paths that you don't need.

Here's what it looks like when I open my project build settings:

Open build settings

Click on "Search Paths in View", and you should find there dummy paths that you can delete.

+145
Jan 05 '15 at 1:09
source share

I sat on this question, like more than a week before asking. For me, the problem was the missing pod reference. And the error he showed in xcode was strange. When I say weird, they donโ€™t tell you what exactly is missing or error. See Image below: ๏ฟผ And the problem was around the target. I was exhausted by checking all Framework search paths and reset library search paths or removing them from the project. Nothing succeeded.

And finally, I made an assumption and added a Google analytics block to test the target and the main target application and hack. Crazy !!! The error here is in the image, if you see something related to architecture. I even played with architecture settings.

So, everything about the missing element in the target you are trying to compile. Hope this helps.

GGL analytics pod not found

+6
Jun 18 '16 at 7:02
source share



All Articles