0

I'm writing swift app to record audio/video. Building on OSX 10.13 work, but how I can buid project for 10.12 on the same machine? I have changed macos deployment target to 10.12, Base SDK is set to 10.13 and I get error AVVideoCodecType.h264 is only available on OS X 10.13 or newer. How can I do if statement at compile time to detect osx version?

Thanks.

5

0

Browse other questions tagged or ask your own question.