-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
'glog/logging.h' file not found #22703
Comments
Did you try the ole |
Yep but no result! |
Well, i know this is a weird solution but it works! I edited
then i copied the whole Please consider that i ran I guess there's a problem in the GitHub files! @hramos (BTW, Happy New Year 😁 🎉 ) |
I can confirm this issue is resolved in Xcode 10.1 but exist in Xcode 10 |
thanks for reporting, I feel that we can close this then. |
@MohamadKh75 Using Xcode 10.1 and experiencing this. |
🤔🤔🤔 |
I'd prefer to have some repro steps before reopening. |
I fixed it by deleting the podlock file and doing a pod install, sharing here so that it might help someone |
You saved my day!!! Thanks |
I have solved this problem today |
I have tried all the above solutions. config.h & loggin.h files are also generated. But when I run 'react-native run-ios' in the terminal OR when I build the project from Xcode 10.1, config.h file, logging.h file are somehow deleted. I don't know what's going on. How are you guys able to solve everything? I am trying every solution that I possible could since many months. Please help. |
@KushalDesai1 I've also encountered this issue and could not get any of the proposed solutions to work. However, I did find one that did. I copied ios-configure-glog.sh from the react-native@0.57.7 project to my current project react-native@0.59. It turns out that in my case it wasn't a corrupted install of glog or double-conversion. The issue was with the following code in the script:
Try removing that if it exists in your current project. Hopefully that works for you. |
Same issue happened to me after cancelling build in xcode and running it again (xcode v10.2.1, rn 0.59.10). I used |
same issue with RN 0.60.5 and Xcode 3 any update? |
Hope this help. info Fetching system and libraries information... =====================================
|
thanks @guruparan it works for me. |
fix here #26300 if you get 'glog/logging.h' the third party libraries are failing to install. if you are on appcenter you need to update the pods on pre-build |
Just run "ios-configure-glog.sh" from glog dir. After comment all 4 last lines - And run in XCode or rn cli. |
@AlexArtisan yep it’s workaround but it didn’t fix the origin. The issue is that the ios-install fails to install glog because it’s calling the the installer from a wrong workdir. On pod install it not throwing any error because cocoapods sadly is not able to throw an exception here. But it’s not safe because on every fresh npm install (for example on appcenter) the dependencies are not downloaded and will not be included inside pod install. |
In my case the root cause was the space in "Xcode 10.1" app name. Maybe it will help someone. |
@marcin-modestowicz Could you tell what space you mean exactly? And how did you fix it? |
@artechventure I installed Xcode in Applications under |
@marcin-modestowicz thanks. saved my time |
Environment
Description
I just tried to create a new project using
react-native init --version=react-native@0.58.0-rc.1
for testings about this issue but i face this problem! I guess this is a regression!Reproducible Demo
react-native init MyTestingProject --version=react-native@0.58.0-rc.1
cd MyTestingProject/ios
MyTestingProject.xcodeproj
The text was updated successfully, but these errors were encountered: