I'm writing a bash script to archive and export my project so I can send it to iTunes Connect. However, the documentation from the command line is a little confusing. I'm trying to figure out if there's a way to pass a parameter to the xcodebuild
command that would set the version number and build number for that archive (similar to how you pass -scheme MyScheme
when calling xcodebuild). Anyone done something like this before?
Thanks!