Update TROUBLESHOOTING.md

This commit is contained in:
Marc Rousavy 2021-03-03 09:52:05 +01:00 committed by GitHub
parent 5af937ba10
commit 4431720e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,8 @@ Before opening an issue, make sure you try the following:
npm i # or "yarn" npm i # or "yarn"
cd ios && pod repo update && pod update && pod install cd ios && pod repo update && pod update && pod install
``` ```
2. Check your minimum iOS version. react-native-vision-camera requires a minimum iOS version of **11.0**. 2. Check your minimum iOS version. react-native-vision-camera requires a minimum iOS version of **11.0**. Try updating your `Podfile` iOS version at the top.
3. Check your Swift version. react-native-vision-camera requires a minimum Swift version of **5.2**. 3. Check your Swift version. react-native-vision-camera requires a minimum Swift version of **5.2**. Try removing all references to Swift-5.0 in the `LIBRARY_SEARCH_PATHS` list (see [this Stackoverflow answer](https://stackoverflow.com/a/66281846/5281431))
4. Make sure you have created a Swift bridging header in your project. 4. Make sure you have created a Swift bridging header in your project.
1. Open your project with Xcode (`Example.xcworkspace`) 1. Open your project with Xcode (`Example.xcworkspace`)
2. In the menu-bar, press **File** > **New** > **File** (<kbd></kbd> + <kbd>N</kbd>) 2. In the menu-bar, press **File** > **New** > **File** (<kbd></kbd> + <kbd>N</kbd>)