diff --git a/Amplify/Core/Configuration/Internal/Amplify+Reset.swift b/Amplify/Core/Configuration/Internal/Amplify+Reset.swift index 5f61657b33..1748482c6e 100644 --- a/Amplify/Core/Configuration/Internal/Amplify+Reset.swift +++ b/Amplify/Core/Configuration/Internal/Amplify+Reset.swift @@ -52,7 +52,7 @@ extension Amplify { ModelProviderRegistry.reset() log.verbose("Resetting ModelRegistry, ModelListDecoderRegistry, ModelProviderRegistry finished") -#if os(iOS) && !os(xrOS) +#if os(iOS) && !os(visionOS) await MainActor.run { devMenu = nil }