Unfortunately the app (an all apps using CloudKit Share) still requires UIKit Lifecycle (AppDelegate and SceneDelegate) and currently cannot be migrated to SwiftUI Lifecycle because there is no implementation for
func windowScene(_ windowScene: UIWindowScene, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata)
available for a SwiftUI Lifecycle app.
This means that basic SwiftUI features like SceneStorage are still not available for apps using CloudKit Share.