In SwiftUI I got error when I use SignInWithAppleButton in SplitReplacementHostingController I got crash
When I place the same button to first screen in the app it works
Mainly it is because I have Sidebar and NavigationView which is preferred for the macOS so when I have the two column placeholder there as the button it works but when I navigate via NavigationLink it stop working
I used Xcode 12.2 beta 3 (12B5035g) Big Sur 20A5395g
Code Block language Fatal error: Attempting to present ASAuthorizationController from a SwiftUI view not in a heirarchy. This should not be possible, please file feedback.: file _AuthenticationServices_SwiftUI/SignInWithAppleButton.swift, line 300 Fatal error: Attempting to present ASAuthorizationController from a SwiftUI view not in a heirarchy. This should not be possible, please file feedback.: file _AuthenticationServices_SwiftUI/SignInWithAppleButton.swift, line 300
When I place the same button to first screen in the app it works
Mainly it is because I have Sidebar and NavigationView which is preferred for the macOS so when I have the two column placeholder there as the button it works but when I navigate via NavigationLink it stop working
I used Xcode 12.2 beta 3 (12B5035g) Big Sur 20A5395g