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

'XCTIssueReference' is not implicitly convertible to 'XCTIssue'; did you mean to use 'as' to explicitly convert? #43

Closed
amine2233 opened this issue Oct 31, 2020 · 2 comments

Comments

@amine2233
Copy link

Capture d’écran 2020-10-31 à 12 32 55

@kylef
Copy link
Owner

kylef commented Oct 31, 2020

Hi, can you share a bit more about how you are integrating Spectre and building the project? (dependency installation method used and version of any tooling).

I can observe that Spectre 0.9.1 appears to build on Xcode 10.3, 11.3.1, 11.6, 12, 12.1, 12.2 via https://github.com/kylef/Spectre/actions/runs/339163231. However building with swift build/test shows the same build error as per https://github.com/kylef/Spectre/runs/1336007915?check_suite_focus=true.

Switching from XCTIssueReference to XCTIssue fixes the swift build case, but then appears to break building with any version of Xcode 12 via the generate Xcode project.

Need to try and understand which cases require XCTIssueReference and XCTIssue to adapt code to conditionally work on all of them.

@kylef
Copy link
Owner

kylef commented Nov 18, 2020

Spectre 0.9.2 should add compatibility with Xcode 12.0.1, it appears there is a differences between some patch releases of Xcode.

@kylef kylef closed this as completed Nov 18, 2020
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