react-native: 0.54.0react-native-fcm: ^14.1.3I'm getting error on build saying that library not found, this have done just after I use pod install
# 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'
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
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)
How do you integrate with react-native-fcm?
manual linking (the result is you have a project in main project -> Library folder)
react-native link (the result is you have a project under Pod project)
Using react-native link and pod install, and so after I've checked the files if has changed
And I've so followed the tutor
can you provide an example project with the issue?
Yep, do want that I create a repository here in GitHub or maybe a private repository in Bitbucket, I mean what's the best way ?
public git repo
Hi! I have the same problem
I even tried to clone the example repository, but I'm getting the same error
Any update?
looking
tried the repo and build without issue.
I did
Hi! I have the same problem
Most helpful comment
Hi! I have the same problem