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

[SR-15020] swift test fails on macOS without Xcode #4396

Open
0xTim opened this issue Aug 4, 2021 · 2 comments
Open

[SR-15020] swift test fails on macOS without Xcode #4396

0xTim opened this issue Aug 4, 2021 · 2 comments
Labels

Comments

@0xTim
Copy link
Contributor

0xTim commented Aug 4, 2021

Previous ID SR-15020
Radar rdar://problem/81575974
Original Reporter @0xTim
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 0beac16b14a45b66909ff8f25fe2b6b5

Issue Description:

When attempting to run swift test on a package on macOS without Xcode installed, it fails because it can't find the Objective-C runtime.

swift test should use the inbuilt test discovery for finding tests so behaviour of Swift is consistent across all platforms. (Note this should not affect running tests in Xcode as this can still use the Obj-C runtime

@tomerd
Copy link
Member

tomerd commented Aug 4, 2021

@swift-ci create

@adam-fowler
Copy link

Having the option to run the xctest solution used by Linux and Windows on macOS would simplify a number of things for the Visual Studio Code Swift extension.

As a starter it would resolve SR-15997

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

No branches or pull requests

4 participants
@tomerd @adam-fowler @0xTim and others