'Flutter/Flutter.h' file not found after update to xcode 15

I just update to xcode 15, and now I have this error

Error (Xcode): 'Flutter/Flutter.h' file not found /Users/starship/workspace/starshipcoder/contactonmap/contactonmap-flutter/ios/Runner/GeneratedPluginRegistrant.h:9:8

Error (Xcode): failed to emit precompiled header '/Users/starship/Library/Developer/Xcode/DerivedData/Runner-dwouttbwbvgobxeefaulfkvwisoa/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_2YC6GNSB4S912-clang_58F47BUMGLOV.pch' for bridging header '/Users/starship/workspace/starshipcoder/contactonmap/contactonmap-flutter/ios/Runner/Runner-Bridging-Header.h'

I have the same issue and I can't figure out how to resolve. My app was compiling fine and this started with an upgrade to Sanoma and Xcode 15. I have since downgrade MacOS and to Xcode 14, but can't seem to get rid of this error.

'Flutter/Flutter.h' file not found after update to xcode 15
 
 
Q