You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build error header "has been modified since the module file" pcm "was built: size changed" #190449
Changing headers can cause module file change build failures
I'm not able to run the example on master due to this error:
<unknown>:0: error: file '/Users/filiph/dev/impeller_windows_render_bug/build/macos/Build/Products/Debug/FlutterMacOS.framework/Headers/FlutterPluginRegistrarMacOS.h' has been modified since the module file '/Users/filiph/dev/impeller_windows_render_bug/build/macos/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules/FlutterMacOS-EB2I1X8OEY51SORFFEHAHR5XK.pcm' was built: size changed (was 6038, now 6403) ** BUILD FAILED **
A flutter clean will resolve it. Either figure out how to detect this case and fix it for them, or suggest a clean instead of an inscrutable error (on iOS and macOS)
changed the title [-]Build error header "has been modified since the module file" FlutterMacOS-EB2I1X8OEY51SORFFEHAHR5XK.pcm "was built: size changed"[/-][+]Build error header "has been modified since the module file" pcm "was built: size changed"[/+]on Aug 3, 2026
Activity
[-]Build error header "has been modified since the module file" FlutterMacOS-EB2I1X8OEY51SORFFEHAHR5XK.pcm "was built: size changed"[/-][+]Build error header "has been modified since the module file" pcm "was built: size changed"[/+]vashworth commentedon Aug 3, 2026
iOS already handles this:
flutter/packages/flutter_tools/lib/src/ios/mac.dart
Lines 310 to 329 in 5a2a94a
flutter/packages/flutter_tools/lib/src/ios/mac.dart
Lines 1096 to 1101 in 5a2a94a
But macOS doesn't since we don't have unified tooling: #144397