-
Notifications
You must be signed in to change notification settings - Fork 2
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
xcodebuild with a specific configuration #21
Comments
Sounds good but do you think there will ever be a need to pass other arguments as well? In that case I'd prefer a more general solution. |
I had the same thought! I think probably there will be need for other arguments, so passing them in a generic way it can be a good solution. |
Yup, I'm thinking along the line what xcodebuild does with the linker arguments. E.g. if I want to pass |
or perhaps using |
And all of those arguments would be applied to the xcodebuild of the method |
I thought of something like
|
I didn't knew the |
It clearly doesn't support
this way I was able to get the string as a whole. |
Hum, this approach was my initial thought, but it a hack... do you know if there is any good alternative to commander that supports one of those use cases? I wonder if any swift open project has a similar need, maybe SourceKitten? What about a configuration file like Sourcery or SwiftLint? |
I found a solution in my projects that no longer requires passing the |
It's not exactly the same situation, but Sourcery is using a json string to pass arguments (krzysztofzablocki/Sourcery#677).
or
|
The last thing I'd want would be parsing JSON from the command line 😅 |
Turns out it was pretty easy to add |
@lvsti any news on this? 🙂 Maybe looking for some Commander alternative? |
well it seems that Commander has been abandoned by its author so I might as well use my fork as dependency |
I tried to search for good Commander alternatives but couldn't find one that would stand out. |
According to the tests it should, but I'm not yet committed to replace it already. I'll push my workaround soon |
I just tested the 0.5.0 release and it works great! Thanks! 👍 |
The 0.5.0 release is already showing up on cocoa pods, thanks! I think now we can close this issue. |
I need the ability to choose a specific configuration that may be different from the default one specified in Xcode, to passe it to xcodebuild.
Something like
What do you think about this?
If you want I can create a PR.
The text was updated successfully, but these errors were encountered: