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
Related
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.
The build was always success.
But, Archive was failed with "directory not found for option -L".
I searched this problem..And found this error is "Library link error".
So, I try to many things like this:
pod install
remove library, and re-add.
exit xcode
re-install xcode
reboot mac
But, nothing changed..
Please help me..
Here is my error msg:
ld: warning: directory not found for option '-L/Users/changbaeseo/Desktop/JESTINA.IOS/DerivedData/jestina/Build/Intermediates.noindex/ArchiveIntermediates/jestina_release/BuildProductsPath/Release-iphoneos/FLAnimatedImage'
ld: warning: directory not found for option '-L/Users/changbaeseo/Desktop/JESTINA.IOS/DerivedData/jestina/Build/Intermediates.noindex/ArchiveIntermediates/jestina_release/BuildProductsPath/Release-iphoneos/Toast'
ld: library not found for -lFLAnimatedImage
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And this is my library search path :
library search path
Solved,
I execute my project with .xcodeproj.
But, execute project with .xcworkspace, ALL OK.
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)
I cloned the project and tried to build it but got stuck due to the following error, can you tell me how to deal with it?
ld: library not found for -lJGProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have done pods install, but the error exists.
Need some help in solving this issue.
Well, That's what worked for me :
Open Build settings
Search for Other Linker flags
remove -l"Pods-XXXLibrary"
Thats it !
I install googlemap pod file that time i got an error and unable to solved this .. please help me
I am getting this error:
ld: library not found for -lPods-Google-Maps-iOS-SDK clang: error:
linker command failed with exit code 1 (use -v to see invocation)
This is the error because u didn't integerate sdk using podfile correctly so the sdk files are missing in your project
Use this link https://developers.google.com/maps/documentation/ios-sdk/start it will help.Thanks
follow this link properly https://developers.google.com/maps/documentation/ios-sdk/start
and make sure you have set YES in BUILD ACTIVE ARCHITECTURE ONLY in build settings (in target).