Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add troubleshooting guide for react-native-video error with xCode 17 iOS #2260

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docusaurus/docs/reactnative/basics/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,19 @@
On newer MacBooks with the Apple M1 SoC, there are a few required steps that need to be followed for an app to build. The user [aiba](https://github.com/aiba) has written [a guide](https://github.com/aiba/react-native-m1) to make the necessary changes to your project.

The iOS build version can be changed to suit your needs, but keep in mind to change the version to the same major and minor version consistently throughout the guide.

## React Native Video failing with Xcode 17

Following error is a known issue with using xcode 17 and react-native-video dependency.

Check failure on line 411 in docusaurus/docs/reactnative/basics/troubleshooting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] docusaurus/docs/reactnative/basics/troubleshooting.mdx#L411

[Vale.Terms] Use 'Xcode' instead of 'xcode'.
Raw output
{"message": "[Vale.Terms] Use 'Xcode' instead of 'xcode'.", "location": {"path": "docusaurus/docs/reactnative/basics/troubleshooting.mdx", "range": {"start": {"line": 411, "column": 45}}}, "severity": "ERROR"}

```
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
```

To temporarily fix this, you can follow the solution as per mentioned in the description of [this issue on GitHub](https://github.com/react-native-video/react-native-video/issues/3154).

Alternatively, you can apply [this patch](https://github.com/react-native-video/react-native-video/files/11932302/react-native-video%2B6.0.0-alpha.6.patch) using the [patch-package](https://www.npmjs.com/package/patch-package) library to the package `react-native-video`.

:::note
This shall be fixed soon with the new alpha release of the package `react-native-video`.
:::
Loading