Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Can't add as Swift Package in Xcode #358

@crazytonyli

Description

@crazytonyli

Steps to reproduce:

  1. Create an empty Xcode project.
  2. Go to "Package Dependencies" in the project settings.
  3. Add this package as Swift Package.

Xcode fails to add the library due to failing to resolve package manifest.

The issue is caused by the way SwiftLint is integrated. It appears, while resolving package manifest, Xcode/SPM uses a virtual file system where only Package.swift is available and the .swiftlint.yml file doesn't exist in the file system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions