danger / danger/swift

Homebrew version does not work with Xcode 16.3

Open
#651 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.1k
Forks
152
Avg merge
9h 54m
Merged PRs (30d)
2

Description

If Xcode 16.3 is installed/selected when using Homebrew to install `danger-swift`, `danger-swift` will fail on execution with the following error:

```
Run danger-swift ci --failOnErrors
/var/folders/fh/wfb80fm57y5_v_21dnc599640000gp/T/danger/629370B0-4BCF-4435-8E29-B9D3DE8AF18A/_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
2 | import Foundation
3 |
```

There is a potential workaround to use older versions of Xcode (unconfirmed), but `danger-swift`, either in implementation or Homebrew formula, should be updated to function with the latest version of Xcode.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.