Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error Xcode #3

Open
anmolsahusoft opened this issue Jun 3, 2016 · 2 comments
Open

Build Error Xcode #3

anmolsahusoft opened this issue Jun 3, 2016 · 2 comments

Comments

@anmolsahusoft
Copy link

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.

@cmcewen
Copy link
Owner

cmcewen commented Jun 4, 2016

@anmolsahusoft
Copy link
Author

`# 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

Uncomment this line if you're using Swift or would like to use dynamic frameworks

use_frameworks!

Pods for

pod 'react-native-gcm-ios', :path => '../node_modules/react-native-gcm-ios'

target '' do
inherit! :search_paths
# Pods for testing
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants