When calling
HKHealthStore.requestAuthorization(toShare:read:completion:)
in an app that uses a SceneDelegate this results in
[Assert] Error in UIKit client: -[UIWindow setScreen:] should not be called if the client adopts UIScene lifecycle. Call -[UIWindow setWindowScene:] instead.
which makes using HealthKit impossible at all. NSHealthShareUsageDescription is set. It happens from beta 1 up to the current beta 4.
Does anybody have a solution for this?