Xcode 4.0 Error: Apple Match-O Linker(Id) Error “…”, referenced from:
April 8, 2011 § 6 Comments
Upgrading to Xcode 4.0 from Xcode 3.0 requires some work. This is a very common error. The fix is simple but it takes a while to identify the source.
Apple Match-O Linker(Id) Error “…”, referenced from:
ld: warning: directory ‘/Users/UserName/Development/Project/frameworks’ following -F not found
- Enter FRAMOWORK_SEARCH_PATHS into the search box
- Remove that directory from the “framework search paths” in the build settings for the project, or for that target
ld: warning: directory not found for option ‘-L/Users/UserName/Desktop/student/../../../../Downloads/ProjectName/ClassName/lib/Debug-iphoneos’
-L is for specifying additional library search path directories. The directory it mentions in the error doesn’t exist.
In the given folder look into the project settings. Update the current directory for the current version of the SDK. Use above fix.