question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find 'RCTMGLSwiftLog' in scope when building v10 for IOs due to naming conflict with react-native-video

See original GitHub issue

Environment

  • OSX 12.5
  • XCode 13.x, 14.x
  • ruby 2.7.5
  • CocoaPods 1.11.3

Steps to reproduce

Follow steps here under Configure your secret token so the project can download MapBox SDK https://docs.mapbox.com/ios/maps/guides/install/

  1. Clone https://github.com/rjdestigter/amypond
  2. Run yarn in the project root
  3. Run pod install in the project’s ios folder

The issue was called out in this PR https://github.com/rnmapbox/maps/pull/2055 but unfortunately does not seem to resolve the issue. I checked to see if reverting this change to see if it would make a difference but it did not.

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rjdestigtercommented, Sep 14, 2022

Confirmed! Build succeeds in the project that does have the bridging header file in place

1reaction
mfazekascommented, Sep 14, 2022

@rjdestigter thanks for the bug report, you should be able to just do replace replace all /RCTLog(.+)/ => RCTMGLLog$1 in *.swift.

Can you submit a PR, for this?!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build on iOS · Issue #2946 - GitHub
Error Cannot find type "RCTEventDispatcher" in scope Seems like this PR ... react-native-video: 6.0.0-alpha4 (installed from the current github repository).
Read more >
react native - cannot find 'EXUpdatesControllerRegistry' in scope
While building my app with expo for preview, I ran into this bug which I've been stuck on for a while and I'm...
Read more >
react-native-video - npm
Start using react-native-video in your project by running `npm i react-native-video`. ... For clients linked against iOS 10.0 and later.
Read more >
React Native Video Library to Play Video in Android and IOS
React Native Video Player to Play Any Video in React Native App for Android and IOS. Use online Video URL or local video...
Read more >
Adding videos to React Native with react-native-video
Follow this guide to learn how to implement video into your React Native app using the most common package, react-native-video.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found