Microsoft App Center
To upload apps from Microsoft App Center to TestFairy, follow the steps provided in this guide.
Creating an Upload Script
Create a new file, call it appcenter-post-build.sh
, and add it next to the project file in your repository.
#!/usr/bin/env bash
TESTFAIRY_UPLOAD_API_KEY=1234356
if [[ "$APPCENTER_XCODE_PROJECT" ]]; then
curl https://upload.testfairy.com/api/upload \
-F "api_key=$TESTFAIRY_UPLOAD_API_KEY" \
-F "file=@$APPCENTER_OUTPUT_DIRECTORY/example.ipa"
fi
if [[ -z "$APPCENTER_XCODE_PROJECT" ]]; then
curl https://upload.testfairy.com/api/upload \
-F "api_key=$TESTFAIRY_UPLOAD_API_KEY" \
-F "file=@$APPCENTER_OUTPUT_DIRECTORY/example.apk"
fi
Verifying a Post Build Step Exists
App-center uses this file as a post build script
for your project, so your app gets uploaded automatically.