Thanks for sharing your feedback Marek. Answering to your points:
- Ability to specify a configuration. Currently, it uses a default configuration but we need to specify a configuration when we want to build a release version of our app.
What about adding support for a
--configuration Debug flag?
--archive flag. This would create a
.xcarchive to a predefined directory, my suggestion is to use
.outputs (I feel letting users specify the export path does not bring any value and we should strive to keep
build command as simple as possible, so we don’t just copy
xcodebuild 's interface)
With this one I lean more towards adding a new command, archive. I think using commands over arguments keep commands simpler, and it’s more intuitive for the user: what are you trying to do? I’d like to build/archive app X. I think having to know what combination of flags to use with
xcodebuild is what makes it not so user-friendly. What do you think?