Skip to content

Running flutter build ios repeatedly never uses assemble cache #56086

Closed

Description

@jmagman

Running flutter build ios always shows:

[ +100 ms] aot_assembly_release: Complete
[   +7 ms] invalidated build due to missing files: /Users/m/Projects/test_pod_build_time/.dart_tool/flutter_build/af5a0e679ea53f3f76835a83d0ee9bb5/App

That file is indeed missing, I think it should be flutter_build/af5a0e679ea53f3f76835a83d0ee9bb5/App.framework/App?

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Apr 30, 2020
  2. jmagman commented on Apr 30, 2020

    @jmagman
    MemberAuthor

    In that directory I have:

    total 37336
    drwxr-xr-x  13 m  primarygroup       416 Apr 30 14:20 .
    drwxr-xr-x   4 m  primarygroup       128 Apr 30 14:46 ..
    -rw-r--r--   1 m  primarygroup     76843 Apr 30 14:54 .filecache
    drwxr-xr-x   3 m  primarygroup        96 Apr 30 14:54 App.framework
    -rw-r--r--   1 m  primarygroup       482 Apr 30 14:54 aot_assembly_release.stamp
    -rw-r--r--   1 m  primarygroup  17945560 Apr 30 14:20 app.dill
    drwxr-xr-x   5 m  primarygroup       160 Apr 30 14:20 arm64
    drwxr-xr-x   5 m  primarygroup       160 Apr 30 14:20 armv7
    -rw-r--r--   1 m  primarygroup      2316 Apr 30 14:54 flutter_assets.d
    -rw-r--r--   1 m  primarygroup     44378 Apr 30 14:20 kernel_snapshot.d
    -rw-r--r--   1 m  primarygroup     45778 Apr 30 14:20 kernel_snapshot.stamp
    -rw-r--r--   1 m  primarygroup       716 Apr 30 14:54 outputs.json
    -rw-r--r--   1 m  primarygroup      2947 Apr 30 14:54 release_ios_bundle_flutter_assets.stamp
    
  3. jonahwilliams commented on Apr 30, 2020

    @jonahwilliams
    Contributor

    All of the build cached-ness need to have integration tests

  4. jonahwilliams commented on Apr 30, 2020

    @jonahwilliams
    Contributor

    It uses it correctly for kernel, but we're unnecessarily running gen_snapshot and rebuilding the bundle. The former is due to a misconfigured rule, the later is due to an old rm -rf in xcode_backend.sh

  5. github-actions commented on Aug 21, 2021

    @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.

  6. locked as resolved and limited conversation to collaborators on Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions