library not found for -lPods-Bolts - objective-c

ld: library not found for -lPods-Bolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Getting this error when I try to compile my code, been stuck on it for so long, think its pretty simple to anyone who knows Xcode development.

These might help:
xCode: Library not found - lPods-Bolts - Exit Code 1
library not found for -lPods
Other than that, off the top of my head, here are a couple of things you can try:
Make sure you have cocoapods installed locally on your machine, and that your environment has a path to it. From a shell prompt, do the following:
$ pod --version
You should see something like "0.39.0" or "1.0.0". If you see "No such file or directory", you'll need to install it (make sure to read the "Install" and "Getting Started" sections completely)
Make sure you have all of your project's pod dependencies installed:
$ pod install
Do a clean build
Good luck!

Related

React-native - Error on deploy app to xcode - directory not found for option '-L-L/Users/...'

I have a problem on deploy my app to xcode after run command below:
pod install
After run this command, dependencies was installed correctly:
When I tried to compile and deploy again, I had the several erros like this:
1) Target 'XXX' (project 'XXX') has copy command from '/Users/XXX/Documents/projects/react-native/tasks/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/XXX/Library/Developer/Xcode/DerivedData/XXX-bbklwsxeibuqhtduldwfhgorkgcg/Build/Products/Debug-iphonesimulator/XXX.app/Zocial.ttf'
2) That command depends on command in Target 'XXX' (project 'XXX'): script phase “[CP] Copy Pods Resources”
To fix it, I change build system of xcode:
But now, I have the following issue:
ld: warning: directory not found for option '-L-L/Users/XXX/Library/Developer/Xcode/DerivedData/XXX-bbklwsxeibuqhtduldwfhgorkgcg/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Problem solved with this link:
https://github.com/react-native-community/upgrade-support/issues/36

React Native Xcode build error on react-native-linear-gradient (-lBVLinearGradient)

I have followed all installation process according to the github page for react-native-linear-gradient.
But when I try to compile for ios (both through react-native run-ios command and Xcode), I get the following error:
ld: library not found for -lBVLinearGradient
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've already opened the project through xcworkspace in which most suggests so when using Cocoapods, but the error persists anyhow.
Any clue on this?
I was having the same problem after upgrading 0.62.1 and the following did the trick for me:
Switched my project to new build system (was using legacy)
Manually deleted the .xcworkspace in ios folder
Removed app from simulator (also deleted all derived data) see how
rm -rf node_modules && sudo yarn install
cd ios && pod deintegrate
pod install
Run project in xcode
This worked for me, hope it can help someone

/lib/ld-linux.so.2: No such file or directory

In an attempt to install Qt5 in Ubuntu-mate18.04, raspberrypi3b+ I get the following error. Please check the screenshot
You probably don't have the binutils package installed. This provides the ld linker program and the lib you are missing.

config.h file not found

I am working on thr react-native platform. I am using iOS. After creating project, the following error found:
config.h file not found mutex.h
Please help me resolve this issue.
The solution works for me is:
Quit your Xcode
Navigate to
cd node_modules/react-native/third-party/glog-0.3.4/
Then execute command:
./configure && make && make install
Now open project in Xocde, Build and Run.
Run the following commands in the project directory. Helped me resolve my config.h not found issue
cd node_modules/react-native/third-party/glog-0.3.4/
./configure
make
make install
cd ../../../..
react-native run-ios

Build fails after using CocoaPods

I am using CocoaPods for the first time. Installing required libraries causes the build process to break.
Installing Podfile gives this warning:
xcrun: error: active developer path ("/Volumes/Xcode 6.1/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
The following is the build error message:
clang: error: no such file or directory: '/Users/aztunwin/ObjC/DenkoStation/Pods/Target Support Files/Pods-RKValueTransformers/Pods-RKValueTransformers-dummy.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
The first error appears to be because you originally launched Xcode 6.1 from your disk image (.dmg) file, so that's where MacOS appears to be looking for the command line tools. You need to reset that.
Go to terminal and type in:
xcode-select --switch /Applications/Xcode.app
Your copy of Xcode is really found in your /Applications folder (as I can see from the second error output). Once you set the command line tools path using xcode-select, clean your project and restart Xcode and try building again.