-
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
Included GLog.podspec broken on case sensitive file system #16181
Comments
Anyone want to send a PR for this? |
@athei could you please try my fork? you can install it using this line in your
important keep in mind this fork is based on tag and then modify your
|
Hi |
Not fixed as of react-native@0.52.0 , very annoying |
I addressed this here: https://github.com/facebook/react-native/pull/17476/files#diff-cf374a993404a1abd4a5d4972c6f87caR13 I think this is a lower-impact fix.
|
This is fixed in react-native@0.54.0 |
This has been fixed and docs are also updated, but updated docs are not reflected on the react-native docs website. |
Anyone want to send a PR to fix the docs? https://github.com/facebook/react-native-website |
Disregard. The docs are already up to date, @simonbengtsson updated master three weeks ago: http://facebook.github.io/react-native/docs/next/integration-with-existing-apps.html I've updated the 0.54 version to include this as well. |
This problem has been fixed at 0.54.4v. I noticed today. |
If you are using React Native <0.54, you will get the following error:"The name of the given podspec
|
I get this issue in RN: 0.55.4 and fixed it by:
|
Resolution
Fixed in 0.54, update your podfile:
Original Bug Report
Is this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment
Environment:
OS: macOS High Sierra 10.13
Node: 8.6.0
Yarn: 1.1.0
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.2 => 0.48.3
Target Platform: iOS (10.3)
Steps to Reproduce
Here is a minimal Podfile:
pod install
Try to build the resulting xcworkspace using Xcode.
Expected Behavior
When opening the xcworkspace and press build it should build without errors.
Actual Behavior
I get a build error saying
.../Pods/Folly/folly/Range.h:33:10: 'glog/logging.h' file not found
How to fix
Just fix your supplied GLog.podspec to have spec.name = 'glog' instead of spec.name = 'GLog'. The name of the library is glog not GLog. Because of this misspelling cocoapods names the subdirectory in the Headers folder wrongly and therefore the inclusion error on case sensitive systems.
The text was updated successfully, but these errors were encountered: