I'm developing a Camera App which uses the presentationDimensions(...) API:
Now when I try to build the project, I get the following errors:
My .pbxproj:
Note that when I remove those calls to presentationDimensions everything works fine.
Can anyone help me out here? The API has been available since iOS 13.0, and even if my iOS deployment target is 11.0 I should still be able to build it, no?
Code Block swift if #available(iOS 13.0, *) { let leftVideo = self.formatDescription.presentationDimensions() let rightVideo = other.formatDescription.presentationDimensions() // ... }
Now when I try to build the project, I get the following errors:
Last Xcode log:Undefined symbol: (extension in CoreMedia):__C.CMFormatDescriptionRef.presentationDimensions(usePixelAspectRatio: Swift.Bool, useCleanAperture: Swift.Bool) -> __C.CGSize
My .pbxproj:
Note that when I remove those calls to presentationDimensions everything works fine.
Can anyone help me out here? The API has been available since iOS 13.0, and even if my iOS deployment target is 11.0 I should still be able to build it, no?