Skip to content

Commit

Permalink
docs: add troubleshooting guide for react-native-video error with xCo…
Browse files Browse the repository at this point in the history
…de 17 iOS (#2260)

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

* fix: vale linting issues

* fix: linting issues

* docs: fix troubleshooting docs

---------

Co-authored-by: Vishal Narkhede <[email protected]>
  • Loading branch information
khushal87 and vishalnarkhede authored Oct 20, 2023
1 parent af9050a commit 372a77a
Showing 1 changed file with 16 additions and 0 deletions.
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 @@ This is likely due to ProGuard removing reanimated 2 related classes. If you're
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`.
:::

0 comments on commit 372a77a

Please sign in to comment.