library not found for -lGoogleToolboxForMac
See original GitHub issue- What version of RN and react-native-fcm are you running?
react-native: 0.54.0
react-native-fcm: ^14.1.3
- What device are you using? (e.g iOS9 emulator, Android 6 device)? not applicable
- Is your app running in foreground, background or not running? not applicable
I’m getting error on build saying that library not found, this have done just after I use pod install
My PodFile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
#pod 'Firebase/Core'
pod 'Firebase/Messaging'
#pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
target 'TabelionatoAmorim' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for TabelionatoAmorim
target 'TabelionatoAmorim-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
target 'TabelionatoAmorimTests' do
inherit! :search_paths
# Pods for testing
end
end
I’ve tried to uncomment the following lines and remove and installing again running pod install
#pod 'Firebase/Core'
#pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
Update I
I also tried to specify a platform in Podfile (platform :ios, '9.0'
), and for each update on Podfile I’m running this command above instead of pod update
rm -rf Pods/ Podfile.lock && nano Podfile && pod install
Here following logs about the error on xcode
ld: warning: directory not found for option '-L/Users/webdev/Library/Developer/Xcode/DerivedData/TabelionatoAmorim-bvvrnpjdeuqofiautzexjiililoz/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/webdev/Library/Developer/Xcode/DerivedData/TabelionatoAmorim-bvvrnpjdeuqofiautzexjiililoz/Build/Products/Debug-iphonesimulator/Protobuf'
ld: warning: directory not found for option '-L/Users/webdev/Library/Developer/Xcode/DerivedData/TabelionatoAmorim-bvvrnpjdeuqofiautzexjiililoz/Build/Products/Debug-iphonesimulator/nanopb'
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
ld: library not found for -lGoogleToolboxForMac - Stack Overflow
I change my pod file to following code and re-install pod. It installed all necessary files for GoogleToolboxForMac.
Read more >ld: library not found for -lGoogleToolboxForMac #137 - GitHub
Hi, I have included file libGoogleToolboxForMac.a file in library but its showing red, and project giving me the error "ld: library not ......
Read more >Firebase Analytics fails ios build only: ld: library not found for
js process with a non-zero exit code. When I open up XCode XCode Errors. ld: library not found for -lGoogleToolboxForMac. clang: error: linker ......
Read more >iOS : Xcode error: library not found for -lGoogleToolboxForMac
iOS : Xcode error: library not found for -lGoogleToolboxForMac [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >Objective-c – ld: library not found for -lGoogleToolboxForMac
Objective-c – ld: library not found for -lGoogleToolboxForMac. firebase-cloud-messaginggoogle-toolbox-for-macobjective-cxcode8.1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
tried the repo and build without issue. I did
Hi! I have the same problem