evollu / evollu/react-native-fcm
library not found for -lGoogleToolboxForMac
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
1. What version of RN and react-native-fcm are you running?
`react-native: 0.54.0`
`react-native-fcm: ^14.1.3`
2. What device are you using? (e.g iOS9 emulator, Android 6 device)?
not applicable
3. 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)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.