Since Xcode version circa 8, xcodebuild changed when creating an archive “.ipa” file using the -exportPath command line option. Previously to version 8 -exportPath would specify the “.ipa” file to create. Apple changed this behavior (though the man page didn’t get updated) to output a folder using -exportPath as the folder name which included several supporting files and the final “.ipa” file of the app. The name of the “.ipa” file that was created in the -exportPath was sourced from the Archive Name in the Archive scheme.

Apps INSIGHT Edit Xcode12 1

Fast forward to 2020 and Xcode12, it appears that xcodebuild has again been changed. The “.ipa” file name is now sourced from the targets Info.plist file under the CFBundleName. The apps title is still sourced from CFBundleDisplayName so releases should show the correct app name on install.

Apps INSIGHT Edit Xcode12 2

If you’re struggling with continuous integration scripts not finding the “.ipa” file name, try updating the CFBundleName to what you’d like the file name to be and see if that helps.



Please provide your contact information to continue.

Before submitting your information, please read our Privacy Policy as it contains detailed information on the processing of your personal data and how we use it.

Related Content

Vaishali Sarkar headshot
In The Press

Wunderman Thompson Canada Appoints Vaishali Sarkar as President

The agency will be helmed by a veteran leader of WPP's agencies in Indonesia as it continues to establish itself in the Canadian market.
Read More
Rosie Bardales
In The Press

Rosie Bardales Joins as CCO of NY

Former Global Executive Creative Director of BETC Paris/London joins Wunderman Thompson to lead creative for the North America headquarters
Read More