Apple Mach-O Linker Warning Directory not found
You have to follow these step:
- Click on your project (targets)
- Click on Build Settings
- Under "Library Search Paths", delete the paths
- Clean your build and run again.
Good Luck !!
How to fix Apple Mach -O-linker warning Directory is not found error
Add this $(DEVELOPER_FRAMEWORKS_DIR)
on Framework Search Paths in Build Settings..
Check the Screenshot Image.. maybe its helpful to you..
then clean,build and run..
Apple Mach-O linker warning won't go away
What I needed to do:
- Click on your project (targets)
- Click on Build Settings Under
Library Search Paths - delete the path
Worked wonders!
directory not found Apple Mach-O linker warning but Library Search Path and Framework Search Path are empty
Here is a description how to avoid a problem based on Apple Dev Forum posted before. It works for me so I repost description for those people who don't want to go and register at the forum.
The bug is due to an error in XCode 5 when it deals with the user adding new files or folders to the project.
Xcode is modifying the 'Library Search Paths' build setting, and making a god-awful mess of it.
Instead of adding $(SRCROOT)/ it is adding fully rooted paths to all new items, and adding random amounts of /// into other elements of the string.
It also seems to be duplicating source paths in some instances, probably because it's broken the existing ones, and thinks they need adding again.
The solution:
- Copy out your Library Search Paths string into a text editor.
- Remove any fully rooted paths that shouldn't be there, and replace them with the usual $(SRCROOT)/MyFiles/ type paths.
- Remove all extraneous slashes and make sure each path has a " character at beginning and end to protect against spaces in filenames.
- Paste the edited string back into Build Settings.
- Clean, then Build. Should be back to normal.
This error may well recur if you add new files to your project, so beware.
XCode giving me following Apple Mach-O Linker Warnings
do like
targets -> build settings -->'Framework search Paths' and 'Library Search Paths' delete the particular path which one you want/which one not available and add again.
for more reference
Can someone help me fix this error in Swift Apple Mach-O Linker Error?
Click on Build Settings and under Library Search Paths, delete the paths.
‘ld: warning: directory not found for option’
You need to do this:
- Click on your project (targets)
- Click on Build Settings
- if your error includes the
-L
flag, then delete the values in Library Search Paths - if your error includes the
-F
flag, then delete the values in Framework Search Paths
And regarding the second error, sorry i can't help you out with that one. Hope someone else can help you out.
Apple Mach-O Linker Warning - Framework Search Paths?
I was able to solve it. Easy fix. For other stumbling upon this problem just edit the Framework Search Paths and add quotation marks to words with space.
I.e:
/Users/erik/Documents/Xcode/"Hello Friend"
How to fix this Mach-O Linker issue?
Should have looked harder. The exact answer, in detail, is right here: Apple Mach-O Linker Warning Directory not found
Related Topics
How to Use Call Directory Extension to Identify a Incoming Call in My Application
Custom Class Clusters in Swift
How to Determine the True Data Type of an Nsnumber
Eraser Not Working in iOS Drawing
Swiftui Landmarks App Tutorial Screen Navigates Back When Toggle Favorite
Application Not Automatically Launching in Device and Getting Error on Xcode
Add a Watermark on Video After Merging Video and Audio Asset into One in Swift3 iOS
iPhone Different Screen Sizes in Flash? (Getting Black Bars)
Presenting Uiviewcontroller from Skscene
What Is Most Common and Correct Practice to Get a Cgfloat from an Nsnumber
Swift Override Function in Extension
Changing View Controller When Segmented Control Changes
How to Properly Order Data from Firebase Chronologically
Convert Nsdate to String in iOS Swift
Could Not Launch Process Launch Failed: Timed Out Waiting for App to Launch