-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support xcodebuild as an executable for SPM projects #276
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all! I'm very excited to start using muter for my projects. However, I'm in a bit of a bind. It appears that muter only works for SPM projects if you use
swift
as the executable. However, this isn't possible for many of my SPM projects, which are targeted at iOS and not macOS, and thus requirexcodebuild
to run tests from the command line.For example, the first issue I run into when using
xcodebuild
with SPM is the usage ofxcodebuild -showBuildSettings
during theBuildForTesting
step. When using SPM, this (1) fails due to not having a passed-scheme
and (2) even if the-scheme
were to be passed, theBUILD_DIR
line that the resulting code looks for will not be present in the output.I'm sure there are many other kinks that would need to be sorted out to support the usage of
xcodebuild
with SPM. I would be very interested in contributing this functionality to the project, if it's something that you all would support (and think is viable)? I imagine I'm not the only developer using SPM primarily for iOS, which would unlock the ability to use muter for such projects.Let me know what you think!
The text was updated successfully, but these errors were encountered: