Skip to content

Cannot use from brew with Xcode 16.3 #649

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

Open
tahirmt opened this issue Apr 11, 2025 · 1 comment
Open

Cannot use from brew with Xcode 16.3 #649

tahirmt opened this issue Apr 11, 2025 · 1 comment

Comments

@tahirmt
Copy link

tahirmt commented Apr 11, 2025

When installed through brew danger-swift doesn't work and throws an error around swift 6.1. Is there any way to get past it without creating a new package and adding danger as a dependency?

/var/folders/w_/7vz72j9n1qd3_jljvlyl1nsh0000gp/T/danger/29FA6DDB-CD22-4CAD-82A9-0003A3EFE7B3/_tmp_dangerfile.swift:1:8: error: module compiled with Swift 6.0 cannot be imported by the Swift 6.1 compiler: /opt/homebrew/lib/danger/Danger.swiftmodule
1 | import Danger
| `- error: module compiled with Swift 6.0 cannot be imported by the Swift 6.1 compiler: /opt/homebrew/lib/danger/Danger.swiftmodule

@417-72KI
Copy link
Member

Which version of Xcode when you have installed danger-swift?

If 16.2 or below, you should re-install to replace lib binaries.

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

2 participants