opened
lackdaz
username_0
<!--
```
info Incorrect hash:

info 61067502c5f9769d111ea1ee3f74e6ddf0a5f9cc ?/Users/seth/Library/Caches/com.facebook.ReactNativeBuild/glog-0.3.5.tar.gz

info Retrying...

info Failed to successfully download 'glog-0.3.5.tar.gz'. Debug info:

info -rw-r--r--  1 seth  staff  532275 Jun 26 14:17 /Users/user/Library/Caches/com.facebook.ReactNativeBuild/glog-0.3.5.tar.gz

info 61067502c5f9769d111ea1ee3f74e6ddf0a5f9cc  /Users/user/Library/Caches/com.facebook.ReactNativeBuild/glog-0.3.5.tar.gz

info Command PhaseScriptExecution failed with a nonzero exit code
```
-->

React Native version:
<!--
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
      Memory: 110.84 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.16.0 - /usr/local/bin/node
      Yarn: 1.17.0 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 2.3 AI-162.4069837
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.9 => 0.59.9 
    npmGlobalPackages:
      react-native-cli: 2.0.1
-->

## Steps To Reproduce

1. npm install -g react-native-cli
2. react-native init MyProject
3. cd MyProject
4. react-native run-ios

Describe what you expected to happen:
I just got back into react-native. Was previously using expo-cli and decided I wanted to handwire a bit so I tried out react-native-cli. I expected run-ios to launch the simulator and dev environment as stated in the getting-started tutorial. Tried clearing cache to no avail. What is going on here?
xcode build exits with error 65: Incorrect hash?
issue
created
uni-zheng
username_1
+1 
I tried run a totally new project and throw same info
comment
created
lackdaz
username_0
I followed a breadcrumb trail that led here:
https://stackoverflow.com/questions/54725742/why-am-i-unable-to-use-glog-due-to-incorrect-hash

Is this something to do with the ```libreadline.7.dylib```? not being referenced?
comment
created
lackdaz
username_0
Following on the stack overflow advice. You could create a symlink to your version 8 readline library.

```ln -s /usr/local/opt/readline/lib/libreadline.8.dylib /usr/local/opt/readline/lib/libreadline.7.dylib```

I've looked at brew but getting previous of `readline` looks hairy. While not elegant, this looks to be the only way till this gets addressed. Again, I'm not an expert at sysadmin stuff, but at least I got the build successful for now. I think its something to do with the Mojave upgrade.
comment
created
lackdaz
username_0
After a little digging, I found the problem to be `gawk`

For macOSX: `brew upgrade gawk`. So no need for symlinks!
comment
closed
lackdaz
username_0
issue