-
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 build error: Import of module 'glog.glog.log_severity' appears within namespace 'google' #41045
Comments
|
|
Which other issues are you referring to? |
I meant This and #26217. |
Closing as solved |
Also happened to me with 0.73.1
|
I have the same issue on my expo project. Somebody know how to fix it ? |
same here |
@592da Did you figure this out for 0.73.x? |
same issue. Somebody know how to fix it? |
@kelset Any suggestions? This is still a problem in 0.73.4 for several folks. (Previously: #38294) See details in our GitHub actions log. |
@paulschreiber I'm currently not on the release crew but I would recommend opening a new issue that provides a repro so that the team can look into this issue and why it keeps resurfacing |
@kelset I don't have time to write up a new mini app with a repo case. I did get this working eventually by upgrading the GitHub actions runner from macos-latest (macOS 12) to macos-14. Things I tried that worked, but weren't necessary:
|
If you're still experiencing this issue, consider trying this StackOverflow answer. |
im still getting this error |
it didnt fix my error man... |
after installing pods and running my project on xcode i started getting this error and its not solved yet my xcode version is 14.0.1...pls help |
i have fixed this issue ....if anyone is still facing this issue reach me i will help u with it |
@codding123vbf what was your fix? My fix was upgrading my GitHub runner form macos-12 to macos-14. |
If you're using a github action, it seems that jobs:
build:
name: build
runs-on: macos-14 Edit: based on @paulschreiber 's suggestion (many thanks for this @paulschreiber !!!) |
For visibility, I documented this a bit better here on SO: https://stackoverflow.com/a/78359974/14717625 |
I'm getting this error for the first time on react-native v0.76.1 |
I am also getting the same issue on React Native 0.76.1 version and tried all solutions available on the net. Note: It’s happening only when I try to create a customized TurboModule, and it works fine without the TurboModule. @paulschreiber @cortinico, do you guys have any solution? Xcode :- 16.2 PodFIle
|
The following change (along with some import tweaks in - 8EC73EE827FDCEB400945966 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8EC73EE727FDCEB400945966 /* AppDelegate.mm */; settings = {COMPILER_FLAGS = "-fmodules -fcxx-modules"; }; };
+ 8EC73EE827FDCEB400945966 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8EC73EE727FDCEB400945966 /* AppDelegate.mm */; }; |
@benhandanyan Thanks for reply. could you please elaborate solution in detail ? what tweaks have you done in AppDelegate.h. |
I misspoke, the import updates were in |
Thanks @benhandanyan , the solution you suggested is worked for me 👍 |
Description
I already know that there are other similar issues of this with multiple way of fix but I'm pretty sure that I have tried them but not worked. this is how my pod file looks:
my package.json file:
React Native Version
0.72.2
Output of
npx react-native info
System:
OS: macOS 12.7
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 27.18 MB / 8.00 GB
Shell:
version: 5.8.1
path: /bin/zsh
Binaries:
Node:
version: 18.18.1
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.8.1
path: /usr/local/bin/npm
Watchman:
version: 2023.10.09.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.2
- iOS 16.2
- macOS 13.1
- tvOS 16.1
- watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 14.2/14C18
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.7.0
path: /Users/mac/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
I provide my RN version and my packages also cocoapods version and ruby.
Snack, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: