Open anmolsahusoft opened 8 years ago
Did you set up CocoaPods + React correctly? https://blog.callstack.io/login-users-with-facebook-in-react-native-4b230b847899#.k6t766ks4
`# Uncomment this line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0'
pod 'Google' pod 'Google/CloudMessaging'
target '' do
pod 'react-native-gcm-ios', :path => '../node_modules/react-native-gcm-ios'
target '' do inherit! :search_paths
end
end`
This is what my podfile looks like. I have many dependencies that dosen't require cocapods so i didn't do it for all dependencies. But i will try this approach.
I am getting a error when i do pod install for you library
Undefined symbols for architecture armv7: "__RCTLogFormat", referenced from: -[RNGcmIOS setBridge:] in libreact-native-gcm-ios.a(RNGcmIOS.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help to solve this error.