The build action archivecreates the file .xcarchive. To create a file .ipa, you must add the next step to build the command line in teamcity with the following command:
xcodebuild -exportArchive -archivePath projectname.xcarchive -exportPath projectname -exportFormat ipa
source
share