I created a Multiplatform app in Xcode. This app has two platforms, iOS and macOS, and users can use it at the same time no matter which platform they purchase on. Currently, the paywall can be displayed correctly when debugging on iOS, but I don't know how to display the paywall on macOS. How can I make the paywall display on the macOS platform app so that users can make purchases?
When switching to My Mac, a code error is displayed:
Value of type 'some View' has no member 'presentPaywallIfNeeded'