ld: warning: directory not found for option '-F-' - xcode

I know this has been probably asked a thousands of times, but I can't get a rid of this error upon building. I think they started to show up after I upgraded Xcode to the latest version available (6.3.2).
ld: warning: directory not found for option '-F-'
ld: library not found for -lPods-AcknowledgementsBundle
clang: error: linker command failed with exit code 1 (use -v to see invocation)
my Library Search Path (target) has:
$(inherited) non-recursive
$(PROJECT_DIR) non-recursive
I uninstalled and installed back the pod, clean and build.. nothing.
Does anybody have a good suggestion?
Thanks!

Related

How to fix a library not found error on Xcode

I use Xcode 11.3.1.
I receive an Xcode project from a coworker that is using Xcode 12.4.
I open the project and try to build it.
I receive the following error:
Library not found for ISO8601DateFormatterValueTransformer
Inside Xcode there are some details:
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/ISO8601DateFormatterValueTransformer'
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/RKValueTransformers'
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/RestKit'
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/SOCKit'
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/TransitionKit'
ld: warning: directory not found for option '-L/Users/catalina/Library/Developer/Xcode/DerivedData/CDA-chskvgcrkhxpgnghuarozjoeymbq/Build/Products/Debug-iphonesimulator/ZBarSDK'
ld: library not found for -lISO8601DateFormatterValueTransformer
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My coworker said to me to delete the Pods folder and run the pod install command. After running the command some libraries are installed on the project.
But when I try to build the project, it fails.
This problem could be related to my Xcode version? I mean, I was trying to compile a project using an old version of Xcode
Or
this is a problem related to not importing correctly the Library?
I find out what was causing the problem.
I open the xcproject file. The correct file to open the project is the xcworkspace file.
The problem is fixed now.

Errors Compiling xcode and FBSDK

When creating an assembly produces an error.
if through .cdworkspace
duplicate symbol _OBJC_IVAR_$_FBSDKDeviceLoginCodeInfo._verificationURL in:
/Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-hiyuaervseeqdjddnyzvacrngstr/Build/Products/ReleaseForRunning-iphoneos/FBSDKLoginKit/libFBSDKLoginKit.a(FBSDKDeviceLoginCodeInfo.o)
/Users/admin/Desktop/ios_idle/Frameworks/FacebookSDK/Plugins/iOS/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKDeviceLoginCodeInfo.o)
ld: 1197 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
if through .xcodeproj
ld: warning: directory not found for option '-L/Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-aznohbyfwguqcwgiyilrfrsrcddz/Build/Products/ReleaseForRunning-iphoneos/FBSDKCoreKit'
ld: warning: directory not found for option '-L/Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-aznohbyfwguqcwgiyilrfrsrcddz/Build/Products/ReleaseForRunning-iphoneos/FBSDKLoginKit'
ld: warning: directory not found for option '-L/Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-aznohbyfwguqcwgiyilrfrsrcddz/Build/Products/ReleaseForRunning-iphoneos/FBSDKShareKit'
ld: library not found for -lBolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
how fix it?
I deleted everything in the FacebookSDK folder in my project except for the file FacebookSDK/SDK/Resources/FacebookSettings. I saved this file so I wouldn't have to re add my settings again later. Then I reimported the Facebook SDK.
It seems that the SDK has had some significant hierarchical changes in the recent versions. When updating to one of the newer versions it did not remove all of the redundant files properly, leading to duplicate classes across across the different versions.

Cocoa pod issue: ld: warning: directory not found for option '-F...'

So I've looked at some of the answers that seem to be about similar issues, and I have been unable to solve the problem. I just upgraded to XCode 8.0, but I didn't solve this same issue before I upgraded, possibly a significant error in judgement, but here I am. I cannot find the paths in question in the settings of XCode. I honestly don't know where they came from. I've just been following the basic directions on how to install these two cocoa pods, and I am so close to success. Any help that you can give me would be fantastic. Thanks for your consideration.
ld: warning: directory not found for option '-F/Users/seanzlatnik/Library/Developer/Xcode/DerivedData/FluctuateApp-dwftgojouclofedrueeenyfijogv/Build/Products/Debug-iphoneos/ABCustomUINavigationController'
ld: warning: directory not found for option '-F/Users/seanzlatnik/Library/Developer/Xcode/DerivedData/FluctuateApp-dwftgojouclofedrueeenyfijogv/Build/Products/Debug-iphoneos/Charts'
ld: framework not found ABCustomUINavigationController
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sincerely,
Sean

CMake generate Xcode project :ld: library not found for -lQuadProgpp

My CMake project works well independently in terminal. However, when I use CMake generate Xcode project. I cannot build the project.
It says:
ld: library not found for -lQuadProgpp clang: error: linker command
failed with exit code 1 (use -v to see invocation)
Who can tell me what the problem is? And how to fix this problem?
Thanks

ld: framework not found ModelIO for architecture x86_64 when compiling my app

I was moving a small number of Cocoapods dependencies' source files into the project, and when I tried to compile my project I got the error:
ld: framework not found ModelIO for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What does this mean? ModelIO is not mentioned anywhere in my project, and my linked frameworks do not mention it either.
I got this error message after adding SupportKit to my Podfile. Per the SupportKit release notes, they require Xcode 7 as of 2.10.1 and trying to use it while still on 6.x can produce this error: https://github.com/radialpoint/SupportKit/issues/54.

Resources