Skip to content

Add AVCaptureDeviceTypeContinuityCamera and remove deprecated AVCaptureDeviceTypeExternalUnknown - #88

Merged
vonnieda merged 1 commit into
openpnp:masterfrom
sparrowwallet:macos-continuity-camera
Nov 11, 2025
Merged

vonnieda merged 1 commit into
openpnp:masterfrom
sparrowwallet:macos-continuity-camera

Conversation

@craigraw

Copy link
Copy Markdown
Contributor

AVCaptureDeviceTypeExternalUnknown has been deprecated, leading to this error message on macOS 15 or later.

WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.

This change detects if the version of macOS is 14 or later and uses AVCaptureDeviceTypeContinuityCamera and AVCaptureDeviceTypeExternal to detect both internal and external cameras.

@vonnieda

Copy link
Copy Markdown
Member

Note: Closed and re-opened to re-run tests.

@vonnieda vonnieda closed this Nov 11, 2025
@vonnieda vonnieda reopened this Nov 11, 2025
@vonnieda
vonnieda merged commit 099dae3 into openpnp:master Nov 11, 2025
8 of 10 checks passed
@vonnieda

Copy link
Copy Markdown
Member

Thank you again @craigraw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants