1.2 KiB
1.2 KiB
Troubleshooting
Before opening an issue, make sure you try the following:
iOS
- Try cleaning and rebuilding everything:
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
- Check your minimum iOS version. react-native-vision-camera requires a minimum iOS version of 11.0.
- Check your Swift version. react-native-vision-camera requires a minimum Swift version of 5.0.
- Make sure you have created a Swift bridging header in your project.
- Open your project with Xcode (
Example.xcworkspace
) - In the menu-bar, press File > New > File (⌘N)
- Use whatever name you prefer, e.g.
File.swift
, and press Create - Press Create Bridging Header when promted.
- Open your project with Xcode (
Android
- Since the Android implementation uses the not-yet fully stable CameraX API, make sure you've browsed the CameraX issue tracker to find out if your issue is a limitation by the CameraX library even I cannot get around.