gorastudio-git/SCNRecorder

Xcode 14 protocol-constrained type error

Closed this issue · 1 comments

When I try to build my app with Xcode 14 using 2.7 version of SCNRecorder pod, it gives this error strangely:
Non-protocol, non-class type 'Self.Audio' cannot be used within a protocol-constrained type
Screen Shot 2022-09-26 at 17 58 38
If I use the underline protocol names intead of the typealias, compiler builds without a problem

typealias SampleBufferAudio = AudioMediaSessionInput & SampleBufferInput

typealias SampleBufferVideo = VideoMediaSessionInput & SampleBufferInput

typealias PixelBufferVideo = VideoMediaSessionInput & BufferInput

I just saw it's fixed in this commit 4852995 . Maybe a new release can be published with this version.