Skip to content

Crash when calling the project.write function #1154

Description

@ybbc

If one xcodeproj references another, a crash occurs when calling the project.write function.
This happens in the PBXProjEncoder.sortProjectReferences function because lFile.name is nil, yet a forced unwrap is performed.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions