Skip to content

Missing awaits corrupt project.pbxprojย #612

@xShuusui

Description

@xShuusui

โ„น๏ธ Info

Version: 0.14.1 and 0.13.1

๐Ÿ’ฌ Description

When running dart run flutter_launcher_icons to generate launcher icons for each of our flavors, the project.pbxproj file of iOS is frequently corrupted and the ASSETCATALOG_COMPILER_APPICON_NAME values for the different flavor targets are not set correctly.

This issue occurs due to asynchronous read and write operations on the project.pbxproj for each flavor that are not awaited correctly, leading to simultaneous execution. As a result, the file becomes incorrect and corrupted.

Related Issues:
#506
#550
#565

A pull request will be opened in the coming days to address this issue. Afterward, a decision can be made on whether to proceed with the fixed asynchronous approach or to use the synchronous approach suggested in PR #551.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions