react-native-compressor
react-native-compressor copied to clipboard
iOS build failed
Expo's EAS build failed for iOS.
Version 1.9.0 of React Native Compressor is works fine, I'm sure I just upgraded version to 1.10.1
Platform
- [x] iOS
React Native Version
- 0.73.6
React Native Compressor Version
-1.10.1
Error log
❌ (node_modules/react-native-compressor/ios/Video/NextLevelSessionExporter.swift:376:69)
374 | for audioTrack in audioTracks {
375 | let mediaSubtypes = audioTrack.formatDescriptions.filter { CMFormatDescriptionGetMediaType($0 as! CMFormatDescription) == kCMMediaType_Audio }.map { CMFormatDescriptionGetMediaSubType($0 as! CMFormatDescription) }
> 376 | for mediaSubtype in mediaSubtypes where mediaSubtype != kAudioFormatAPAC {
| ^ cannot find 'kAudioFormatAPAC' in scope
377 | audioTracksToUse.append(audioTrack)
378 | }
379 | }