Skip to content

Extra characters added to project.pbxproj file causing iOS build failure when using flutter_launcher_icons #636

@ejazrahim420

Description

@ejazrahim420

I am using the Flutter Launcher Icons package to generate icons for multiple schemes in my Flutter app. When I run the command:

dart run flutter_launcher_icons

It adds extra characters to the end of the project.pbxproj file located at:

ios/Runner.xcodeproj/project.pbxproj

The extra characters added are:

*/;
}

This causes the Xcode project to be unreadable, resulting in the following error when trying to build the app on iOS:

unable to read project 'Runner.xcodeproj'.
Reason: The project ‘Runner’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.

Additionally, when I try to run:

pod install

I receive this error:

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method 'map' for nil

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