I started an ios project, and then enabled the macOS 10.15 checkbox, and hoping it run on macOS 11 perfectly.
It works fine on iOS, but macOS shows error.