Xcode Linker command failed with exit code 1 AFNetworking - ios

I am trying to build an already existing iOS project. And I get this error:
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried deleting Library Search Paths, installing pods with pod install, running .workspace but nothing is working.

Try following:
1. Go build setting
2. Find other linker command
3. Delete lAFNetworking from there
4. Clean and build

Related

How to resolve Framework not found JitsiMeetSDK.xcframework error

I want to integrate JitsiMeetSDK framework for iOS project. but it gives me error:
ld: framework not found JitsiMeetSDK.xcframework
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have set all the info as per link : https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk
I have used cocoapods, Xcode 12.4, Swift project. Any suggestions?

ld: library not found for -lBoringSSL-GRPC clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am currently having issues archiving my react native project in Xcode. Building and running my project works fine in Debug but archiving is a problem. The following error appears when attempting to archive:
ld: library not found for lBoringSSL-GRPC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried removing 'Firebase/Firestore' from my Podfile, running pod install and then trying to archive but that doesn't seem to help. I would get the error:
ld: library not found for lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried removing the quotes from the library search paths in the build settings as suggested from someone who had a similar issue. This didn't help unfortunately.
I am opening the workspace. Although, when opening .workspace it does direct me to my project .xcodeproj. Not sure if this is the problem.
Can someone please assist? I would really appreciate it. I'm clueless here. I'm fairly new to Xcode and React Native.
Thank you.

Apple Mach-O Linker Error - Xcode (Swift)

I'm trying to use a cocoapod with my Xcode project (Swift).
When I try to Build the project it fails with:
Apple Mach-O Linker Error Group
- "_OBJC_CLASS_$_FSCalendar", referenced from:
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
Errors
Any ideas what could be causing this?
(The cocoapod I am using is: https://github.com/WenchaoD/FSCalendar
UPDATE
I have added the frameworks and now I am just getting "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
UPDATE
Full error:
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos/FSCalendar'
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos'
ld: framework not found FSCalendar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried everything suggested on the internet for the same issue and nothing resolved this. I fully re-installed Xcode and Cocoapods, set up the project exactly the same as before and it is now working.
After I ran pod install on the new name I changed my project to, I had this error cause the pod framework was not linking to NEW project name and was still looking for OLD name.
I resolved by going into my projects 'Linked Frameworks and Libraries' in the Targets section and removing the OLD framework that has the OLD project name.
Targets > General > Linked Frameworks and Libraries > -(Pods_OLD_PROJECT_NAME.framework)

Linker Error for Expecta on PNChart iOS

Referring to : https://github.com/kevinzhow/PNChart/
I downloaded the latest PNChart. Besides of the error "UICountingLabel/UICountingLabel.h not found" which is fixed by setting the build-debug-cert.
I am also getting this error which I can't fix. I tried to set the 'Build Settings -> Search Paths' to YES, but same problem. Anyone knows how to fix this ?
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/PNChartDemo-giizuxibyqufwkdlwownbowndyew/Build/Products/Debug-iphonesimulator/Expecta'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/PNChartDemo-giizuxibyqufwkdlwownbowndyew/Build/Products/Debug-iphonesimulator/UICountingLabel'
ld: library not found for -lExpecta
clang: error: linker command failed with exit code 1 (use -v to see invocation)
.
I also don't understand what is meant by this line :
"Add a pod entry for PNChart to your Podfile pod 'PNChart' "
I tried sending the command "pod 'PNChart'" and error appeared. Ignore this error ? The command 'pod install' works.
Thanks

error: linker command failed with exit code 1 (use -v to see invocation) in Xcode 7.0.1

Before I asked this question I've tried all the available listed solutions.
I'm running old project (from 1 year ago) and I get this error
ld: library not found for -lPods-AAShareBubbles
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think there are a problem in linking Pod files, because when I remove the first pod which was AAShareBuble and added it manually, the error moved to the second pod which was AFNetwoking, so I think the problem in Pods configuration or Linking.
xCode version: 7.0.1
COCOAPODS: 0.38.2
Any one can help ?

Resources