Skip to content

Make .last_build_id assemble file hidden on macOS #77017

@jmagman

Description

@jmagman

#76958 reported an iOS App Store validation error because of an errant Runner.app/Frameworks/.last_build_id file in the archive bundle. That file is generated by the assemble build system to track when targets can be skipped. That particular issue will be fixed with #77007 but it would be nice to support the bundle directories as assemble output directories.

  1. Validate making .last_build_id a hidden file avoids validation issues.
  2. If so, make .last_build_id hidden when written by setting the com.apple.FinderInfo extended attribute to 32. The com.apple.FinderInfo attribute requires a 32-byte block, so it looks like:
xattr -wx com.apple.FinderInfo 2020202020202020401000000000000000000000000000000000000000000000 .last_build_id

See man getattrlist ATTR_CMN_FNDRINFO for info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterplatform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtoolAffects 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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy