-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
iOS linker error adding Google Nearby Messages API to XCode project #16406
Comments
This is due to duplicate symbols in the glog third party code which seems to also be embedded in NearbyMessages. A workaround is to rename the symbols in the glog in the React project. You can do this by running these two command:
This searches for instances of |
Thanks for the workaround! Unfortunately, I'm not having any luck using it as a |
I found out the same thing. It worked originally as I’d done a build before
running “yarn install”. You could likely work around that issue by running
the third party script before the workaround on postinstall.
…On Wed, 15 Nov 2017 at 23:21, Brian Nicholson ***@***.***> wrote:
Thanks for the workaround!
Unfortunately, I'm not having any luck using it as a postinstall hook: it
seems that node_modules/react-native/third-party doesn't even exist after npm
install. Instead, it's installed lazily when executing react-native
run-ios.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16406 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAF7LJNF8w6ArsVm5rgJ20Yhbi3JHlquks5s23HwgaJpZM4P6FNz>
.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Is this a bug report?
YES
Environment
Environment:
OS: macOS High Sierra 10.13
Node: 8.6.0
Yarn: 1.0.2
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.3 => 0.49.3
Target Platform: iOS (10.0)
Steps to Reproduce
Expected Behavior
There should not be any duplicated symbols between Google Nearby Messages API implementations with React ThirdParty implementation,
or a work around to avoid the duplication of these symbols to use Google Nearby API in a react native project.
Actual Behavior
Linker error for duplicated symbols.
Reproducible Demo
Please run
GNSMessageSampleProject.zip
The text was updated successfully, but these errors were encountered: