2021-02-24 14:26:07 -07:00
< h1 align = "center" > Troubleshooting< / h1 >
< div >
< img align = "right" width = "35%" src = "../img/11_back.png" >
< / div >
2021-02-19 09:10:32 -07:00
Before opening an issue, make sure you try the following:
2021-02-19 09:12:57 -07:00
## iOS
2021-02-19 09:10:32 -07:00
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** .
2021-02-19 09:55:37 -07:00
3. Check your Swift version. react-native-vision-camera requires a minimum Swift version of **5.2** .
2021-02-19 09:10:32 -07:00
4. Make sure you have created a Swift bridging header in your project.
1. Open your project with Xcode (`Example.xcworkspace`)
2021-02-24 14:30:00 -07:00
2. In the menu-bar, press **File** > **New** > **File** (< kbd > ⌘</ kbd >< kbd > N</ kbd > )
4. Use whatever name you prefer, e.g. `File.swift` , and press **Create**
5. Press **Create Bridging Header** when promted.
2021-02-19 09:12:57 -07:00
## Android
1. Since the Android implementation uses the not-yet fully stable **CameraX** API, make sure you've browsed the [CameraX issue tracker ](https://issuetracker.google.com/issues?q=componentid:618491%20status:open ) to find out if your issue is a limitation by the **CameraX** library even I cannot get around.