Troubleshouting AVCam build for iOS and run on MacBook with macos14 (Sonoma)

Hello, I tried to build AVCam sample application for iOS17 and run it on MacBook (designed as iPad) with macos14.3 (Sonoma). https://developer.apple.com/documentation/avfoundation/capture_setup/avcam_building_a_camera_app?language=objc

  1. When building and testing with Xcode 15.2, AVCam application crashes systematically when choosing target "My Mac (Designed for iPad)"

In fact, SIGABORT signal is received in a thread dealing with "portrait effect" Thread 19 Queue : com.apple.portrait.effect_init (serial)

Is it a known bug? Is there a workaround about this case?

Best regards

  1. External webcam is detected by AVCam but preview and capture are systematically upside down. (may be the same FaceTime HD camera's)

Is it a known bug? Is there a workaround about this case?

Replies

Did you ever find a solution to the crashing bug? I'm seeing this to in the AVCam sample app when run on the Mac.

This is also an issue I am getting, I think bypassing the portrait effects may help this. I am going to give this a go now!