From eb29775c60c7d9d6df1fdbf12bdf5277fe75d8b0 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Fri, 19 Feb 2021 17:10:32 +0100 Subject: [PATCH] Create TROUBLESHOOTING.md --- TROUBLESHOOTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 TROUBLESHOOTING.md diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md new file mode 100644 index 0000000..f08f2db --- /dev/null +++ b/TROUBLESHOOTING.md @@ -0,0 +1,17 @@ +# Troubleshooting + +Before opening an issue, make sure you try the following: + +1. Try cleaning and rebuilding **everything**: + ```sh + rm -rf package-lock.json && rm -rf yarn.lock && rm -rf node_modules && rm -rf ios/Podfile.lock && rm -rf ios/Pods + npm i # or "yarn" + 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**. +3. Check your Swift version. react-native-vision-camera requires a minimum Swift version of **5.0**. +4. Make sure you have created a Swift bridging header in your project. + 1. Open your project with Xcode (`Example.xcworkspace`) + 2. In the menu-bar, press **File** > **New** > **File** (⌘N) + 3. Use whatever name you prefer, e.g. `File.swift`, and press **Create** + 4. Press **Create Bridging Header** when promted.