infinitered / ignite-andross

The original React Native boilerplate from Infinite Red - Redux, React Navigation, & more
https://infinite.red/ignite
MIT License
475 stars 150 forks source link

glog-0.3.4 error : 'config.h' file not found #224

Closed khelil closed 5 years ago

khelil commented 6 years ago

Hi All,

After creating an app from andross boilerplate, got a glog error : node_modules/react-native/third-party/glog-0.3.4/src/base/mutex.h:105:10: 'config.h' file not found

Here what i had to do to make it work :

Then i got a libfishhook.a error :

Then got a No member named __rip in __darwin_arm_thread_state error

Also, i have to follow theses steps every time i install a new react native lib :(


  platform           darwin
  arch               x64
  cpu                4 cores                                                                                                    Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
  directory         .../node_modules/react-native/third-party/glog-0.3.4

JavaScript
  node               11.1.0       /Users/khelil/.nvm/versions/node/v11.1.0/bin/node
  npm                6.4.1        /Users/khelil/.nvm/versions/node/v11.1.0/bin/npm
  yarn               1.12.3       /Users/khelil/.nvm/versions/node/v11.1.0/bin/yarn

React Native
  react-native-cli   2.0.1

Ignite
  ignite             2.1.2        /Users/khelil/.nvm/versions/node/v11.1.0/bin/ignite

Android
  java               1.8.0_73     /usr/bin/java
  android home       -            /usr/local/opt/android-sdk

iOS
  xcode              10.1```
kushan85 commented 5 years ago

I am getting the same errors and I was able to resolve them in the same way. I was able to build the app successfully but ended up with this issue https://github.com/infinitered/ignite-ir-boilerplate-andross/issues/222

jakesylvestre commented 5 years ago

cd ./node_modules/react-native/third-party/glog-0.3.4 && ../../scripts/ios-configure-glog.sh

jamonholmgren commented 5 years ago

Anyone want to take a stab at upgrading Andross to React Native 0.57.5? It should fix this issue with Xcode 10.

khelil commented 5 years ago

@jamonholmgren i'm in ! Can you give some indications ? I suppose we need to update Ignite CLI also ?

jamonholmgren commented 5 years ago

@khelil Apologies, I just saw this! Looks like @lvlrSajjad already got upgraded RN version out: https://github.com/infinitered/ignite-ir-boilerplate-andross/pull/228