Skip to content

Commit 4dc708d

Browse files
authored
Merge pull request #558 from rulishu/rls
fix(question): 记录react-native版本运行解决问题
2 parents 4deb3d5 + 71349da commit 4dc708d

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

website/src/pages/docs/questions/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,34 @@ Xcode 打开工程文件错误,使用 `*.xcodeproj` 打开工程会报这个
255255
打开 `Kaychain Access(钥匙串访问)` 应用删除 `Apple Worldwide Developer Relations Certification Authority` 证书
256256
257257
![](./img/img05.png)<!--rehype:style=max-width: 650px;width: 100%;-->
258+
259+
## React Native 0.70 版本,在iOS模拟器中Open Debugger无法启动
260+
261+
#### `版本:`
262+
263+
```
264+
"react": "18.1.0",
265+
"react-native": "0.70.1",
266+
```
267+
268+
#### `问题`
269+
270+
`Cmd+D > Open Debugger > console logs`:
271+
272+
```
273+
info Opening flipper://null/Hermesdebuggerrn?device=React%20Native...
274+
error Browser exited with error:, Error: invalid url, missing http/https protocol
275+
```
276+
![](./img/img06.png)<!--rehype:style=max-width: 650px;width: 100%;-->
277+
278+
### `解决方案一`
279+
280+
1. 搜索关键字:`hermes_enabled``true改为false` `:hermes_enabled => false`<!--rehype:style=color: red;background: #ffd2d2;-->
281+
2. 移除Hermes引擎 `cd ios && pod install && cd ..`
282+
3. 重启项目 `yarn run ios`
283+
284+
### `解决方案二`
285+
286+
RN版本使用0.69.0
287+
288+
142 KB
Loading

0 commit comments

Comments
 (0)