Skip to content

Conversation

@danoli3
Copy link
Member

@danoli3 danoli3 commented Jan 7, 2025

Fixes reported: #8230

Where system OS macOS 13 having issues with SDK types not defined in macOS 13.

Solution:

AVFoundationGrabber:

#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 140000

  • Also fixed prior to 10.15 where AVCaptureDeviceDiscoverySession not defined use old api with deprecations pragma'd.
  • Simplified code using device target list
  • Did test @gllmAR the ifdef solution and didn't work for macOS 14+ so definitely test this out

ofxiOS AVFoundationGrabber

  • Fixed with same logic. Added iOS 17+ BuiltInLiDARDepthCamera, ContinuityCamera, TrueDepthCamera and External
  • Fixed issue with CGBitmapInfo cast
  • Simplified code using device target list

@danoli3 danoli3 added this to the 0.12.1 milestone Jan 7, 2025
@danoli3 danoli3 merged commit d753765 into openframeworks:master Jan 7, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant