shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 321 forks source link

'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead. #394

Open geek-ibrar opened 1 year ago

geek-ibrar commented 1 year ago

Getting this error after updating to XCode 14.3.1. It was working correct on XCode 14.2, using Minimum iOS Deployment 11.0.

Current Behavior

'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead.

Expected Behavior

Run without error

Your Environment

software version
react-native-video-processing 1.13.0
react-native 0.67.1
node 16.15.1
XCode 14.3.1 (14E300c)
kevmmdev commented 5 months ago

@geek-ibrar were you able to find a solution?

geek-ibrar commented 5 months ago

@electricfeel1979 This worked for me

"react-native-video-processing": "git+https://git@github.com/shahen94/react-native-video-processing.git",
"react-native": "0.68.1",
node: v21.1.0
Xcode: 15.2 (15C500b)