Set the build destination to Mac Catalyst, and the build will run properly. I filed a feedback (FB13904284) and shared this with Apple engineers during a WWDC24 lab session.
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags: