dryark / stf_ios_support

Central repo to connect and document components/repos needed for IOS stf support
Other
153 stars 65 forks source link

Error "'AVCaptureDeviceDiscoverySession' is unavailable: not available on macOS" when running `make` #86

Closed NguyenHoangDuy2406 closed 3 years ago

NguyenHoangDuy2406 commented 3 years ago

Hi everyone,

I'm following the post https://github.com/DeviceFarmer/stf_ios_support, and staying at some last steps in Build provider files. But when running the cli make, an error show below:

error

I'm stuck there and can't continue, can anyone advise me for it ?

Thank you so much!

nanoscopic commented 3 years ago

https://developer.apple.com/documentation/avfoundation/avcapturedevicediscoverysession

Availability: MacOS 10.15+ Are you running MacOS < 10.15 ?

NguyenHoangDuy2406 commented 3 years ago

https://developer.apple.com/documentation/avfoundation/avcapturedevicediscoverysession

Availability: MacOS 10.15+ Are you running MacOS < 10.15 ?

Really really thanks for the answering. That maybe the root cause of its error. (My MacOS is 10.14.x) I'm not familiar with iOS and MacOS environment , so I miss that.

Thank you so much, nanoscopic ^^ and have a nice day