Packacing iOS apps - nowsecure/node-applesign GitHub Wiki
There are several ways to distribute an app.
XCArchive
$ xcodebuild -exportArchive -exportFormat ipa -archivePath <path to archive> -exportPath <path to output>
IPA
$ zip -qry appname.ipa Payload