I am using xcodebuild
command line tool to create an archive and then export as IPA file, for my iOS project.
By default, while using xcodebuild -exportArchive
, it creates the IPA file which has the same label as the scheme
selected for building.
Is there anyway to change the output IPA file name while using xcodebuild -exportArchive
from command line?
Any help will be greatly appreciated. Thanks.
The Step archives your Xcode project by running the xcodebuild archive command and then exports the archive into an . ipa file with the xcodebuild -exportArchive command. This . ipa file can be shared, installed on test devices, or uploaded to the App Store Connect.
Another way if that's not working is to set the customArchiveName (see this answer) https://stackoverflow.com/a/43809933
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With