Skip to content

Error building running uiscene_plugin_lifecycle_test_ios: '.../FlutterEngine.h' has been modified since the module file '....pcm' was built: size changed #192344

Closed

Description

@hellohuanlin

Steps to reproduce

Should be similar to #190449

But with a different repro steps:

  1. You can try out by pulling my branch simplify_uiscene at repo hellohuanlin/flutter (which adds a new API to FlutterEngine.h

  2. Run this command to run the test: ../../bin/cache/dart-sdk/bin/dart bin/test_runner.dart test --exit -t uiscene_plugin_lifecycle_test_ios --local-engine ios_debug_sim_unopt_arm64 --local-engine-host host_debug_unopt_arm64 --task-args destination=/Users/huanlin/Desktop/dontdeleteme

  3. Observe all test fails with the above error message

Expected results

No failure

Actual results

[2026-09-04 18:08:38.359470] [STDOUT] stdout: :0: error: file '/Users/huanlin/Library/Developer/Xcode/DerivedData/NativeUIKitSwiftExperiment-aeopvrhuycbudiffrnvlrmndwref/Build/Products/Debug-iphonesimulator/Flutter.framework/Headers/FlutterSceneDelegate.h' has been modified since the module file '/Users/huanlin/Library/Developer/Xcode/DerivedData/NativeUIKitSwiftExperiment-aeopvrhuycbudiffrnvlrmndwref/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules/FlutterPluginRegistrant-6YZHT9OUIVA914RQ4Z2MDB3GZ.pcm' was built: size changed (was 889, now 893)

Code sample

NA

Screenshots or Video

NA

Logs

NA

Flutter Doctor output

huanlin@huanlin-mac devicelab % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.47.0-1.0.pre-1032, on macOS 26.6.2 25G83 darwin-arm64, locale en)
! Flutter version 3.47.0-1.0.pre-1032 on channel [user-branch] at /Users/huanlin/Desktop/flutter/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, try deleting the 'bin/cache/flutter.version.json' file in your Flutter SDK directory and then reinstall
Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository [email protected]:hellohuanlin/flutter.git is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to [email protected]:hellohuanlin/flutter.git to dismiss this error.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ Flutter requires Android SDK 36 and the Android BuildTools 28.0.3
To update the Android SDK visit https://flutter.dev/to/macos-android-setup for detailed instructions.
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 26.4)
[✓] Chrome - develop for the web
[✓] Connected device (6 available)
! Error: Browsing on the local area network for Huan’s iPhone 15 Pro. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Huan’s iPad 10 Landscape. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 2 categories.
huanlin@huanlin-mac devicelab %

Activity

  1. hellohuanlin commented on Sep 8, 2026

    @hellohuanlin
    ContributorAuthor
  2. added
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Sep 10, 2026
  3. github-actions commented on Oct 30, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions