Update: Turns out that the code does compile for physical devices running iOS or iPadOS, just not for the simulator. Better error messages would spare me some time debugging in the future xd.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: