From 2fef1bafc8bee33432486212caf4fef5c659dd37 Mon Sep 17 00:00:00 2001 From: hovox Date: Sun, 28 Jan 2018 22:12:19 -0800 Subject: [PATCH] GLog fix on case sensitive APFS macOS Summary: This will fix compile error on case sensitive APFS(Apple File System) macs. Integrate RN on case sensitive formatted macOS via cocoa pods you will get compile errors on the include lines something like : ``` ^~~~~~~~~~~~~~~~ 1 error generated. ** BUILD FAILED ** ``` If you change `#include ` into `#include ` (replace `glog` with `GLog`) it will fix the build error. After fixing this you will get same kind of errors on a few other places. [IOS] [BUGFIX] [Framework] - `GLog` fix on case sensitive APFS macOS Closes https://github.com/facebook/react-native/pull/17697 Differential Revision: D6832740 Pulled By: shergin fbshipit-source-id: 0c7a01f33fde35dbc8004c5bb6e5b22f8f0ea369 --- scripts/process-podspecs.sh | 2 +- third-party-podspecs/Folly.podspec | 2 +- third-party-podspecs/{GLog.podspec => glog.podspec} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename third-party-podspecs/{GLog.podspec => glog.podspec} (98%) diff --git a/scripts/process-podspecs.sh b/scripts/process-podspecs.sh index 6f9f8c894bc88a..6c66f1d87ea921 100755 --- a/scripts/process-podspecs.sh +++ b/scripts/process-podspecs.sh @@ -65,7 +65,7 @@ process() { cd "$ROOT/third-party-podspecs" push Folly.podspec push DoubleConversion.podspec -push GLog.podspec +push glog.podspec process "$ROOT/ReactCommon/yoga" process "$ROOT" _ignore_me_subspec_for_linting_ diff --git a/third-party-podspecs/Folly.podspec b/third-party-podspecs/Folly.podspec index 2a855a26ab0c90..b04c089e718385 100644 --- a/third-party-podspecs/Folly.podspec +++ b/third-party-podspecs/Folly.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |spec| spec.module_name = 'folly' spec.dependency 'boost-for-react-native' spec.dependency 'DoubleConversion' - spec.dependency 'GLog' + spec.dependency 'glog' spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' spec.source_files = 'folly/Bits.cpp', 'folly/Conv.cpp', diff --git a/third-party-podspecs/GLog.podspec b/third-party-podspecs/glog.podspec similarity index 98% rename from third-party-podspecs/GLog.podspec rename to third-party-podspecs/glog.podspec index 5c8091a47c3111..226f9e4cf0fcf8 100644 --- a/third-party-podspecs/GLog.podspec +++ b/third-party-podspecs/glog.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |spec| - spec.name = 'GLog' + spec.name = 'glog' spec.version = '0.3.4' spec.license = { :type => 'Google', :file => 'COPYING' } spec.homepage = 'https://github.com/google/glog'