I had the same problem and after a discussion on the Apple Developer Forums I found out that there really is a .IPA file inside
/Library/Developer/XcodeServer/Integrations/Integration-INTEGRATION_ID/ExportedProduct/
and you can access it from After Trigger Script using something like
originalBinaryName=$(basename "${XCS_ARCHIVE%.*}".ipa) originalBinaryPath="${XCS_OUTPUT_DIR}/ExportedProduct/Apps/${originalBinaryName}"
I also sent an error report because $ XCS_PRODUCT should not be empty anyway, and it would be nice to have a new environment variable for the full path of the .IPA file.
source share