Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add as Swift Package in Xcode #358

Open
crazytonyli opened this issue Jun 20, 2024 · 0 comments
Open

Can't add as Swift Package in Xcode #358

crazytonyli opened this issue Jun 20, 2024 · 0 comments

Comments

@crazytonyli
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant