To use ipasend from Xcode, edit your scheme and add a post-archive script like the following:
#!bash
CMDFILE=$TARGET_TEMP_DIR/archive.command
mkdir -p $TARGET_TEMP_DIR
echo "ipasend -b <yourbucket> -u <someuuid> '${ARCHIVE_PATH}'" > $CMDFILE
chmod +x $CMDFILE
open $CMDFILE
Also ensure you are exporting environment variables from your target and that you set your shell to bash.
Supported options
- archive_pathPath to the Xcode archive
- display_nameDisplay name on the download page, IPA name used if nil
- aws_keyAWS key
- aws_secretAWS secret
- aws_bucketAWS bucket
- prefixPath prefix on S3
- aws_endpointAWS enpoint
- image_pathPath to an image file to use on the download page