Skip to content

Commit 561906b

Browse files
committed
Merge branch 'dev' of https://github.com/uiwjs/react-native-uiw into dev
2 parents 6edd6d0 + 4dc708d commit 561906b

File tree

12 files changed

+45
-17
lines changed

12 files changed

+45
-17
lines changed

website/src/pages/docs/environment-setup/android-phone/README.md renamed to website/src/pages/docs/phone-run/android-phone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Android 真机环境安装
1+
Android 真机运行
22
===
33

44
本文档将指导你通过必须的步骤在设备上运行 React Native app,为生产做准备 。

website/src/pages/docs/environment-setup/ios-phone/index.tsx renamed to website/src/pages/docs/phone-run/android-phone/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const DEMO = () => (
1111
<Preview
1212
{...md}
1313
transformImageUri={transformImageUri}
14-
path="website/src/pages/docs/environment-setup/ios-phone/README.md"
14+
path="website/src/pages/docs/phone-run/android-phone/README.md"
1515
/>
1616
);
1717
export default DEMO;

website/src/pages/docs/environment-setup/ios-phone/README.md renamed to website/src/pages/docs/phone-run/ios-phone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
iOS 真机环境安装
1+
iOS 真机运行
22
===
33

44
本文档将指导你通过必须的步骤在设备上运行 React Native app,为生产做准备。

website/src/pages/docs/environment-setup/android-phone/index.tsx renamed to website/src/pages/docs/phone-run/ios-phone/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ const transformImageUri = (url: string) => {
88
};
99

1010
const DEMO = () => (
11-
<Preview
12-
{...md}
13-
transformImageUri={transformImageUri}
14-
path="website/src/pages/docs/environment-setup/android-phone/README.md"
15-
/>
11+
<Preview {...md} transformImageUri={transformImageUri} path="website/src/pages/docs/phone-run/ios-phone/README.md" />
1612
);
1713
export default DEMO;

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)