BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 330 forks source link

Xcode 12 - Camera.swift not building #106

Closed madadoux closed 3 years ago

madadoux commented 3 years ago

since upgrading to Xcode 12 that supports ios 14 this framework not building because of this line

let supportedPixelFormats = videoOutput.availableVideoPixelFormatTypes it says Type 'AVCaptureVideoDataOutput' has no member 'availableVideoPixelFormatTypes'

Please we need a fix to this issue I don't understand what it means so I can't find alternative for it

system info : xcode Version 12.0.1 (12A7300) macos : 10.15.5 (19F101)

SijieChenHotstar commented 3 years ago

it's Xcode issue.
check https://developer.apple.com/forums/thread/658471

madadoux commented 3 years ago

Thank you sijie