Add this code, filled out with your own TestFlight info, after the export DEVELOP_DIR line:
Add this to the end of the existing script:
Source from: Beginning Automated Testing With Xcode Part 2/2
# testflight stuff API_TOKEN=<YOUR API TOKEN> TEAM_TOKEN=<YOUR TEAM TOKEN>
Add this to the end of the existing script:
#
# Send to TestFlight
#
/usr/bin/curl "http://testflightapp.com/api/builds.json" \
-F file=@"${IPA_DIR}/${PROJECT}.ipa" \
-F dsym=@"${IPA_DIR}/${PROJECT}.dSYM.zip" \
-F api_token="${API_TOKEN}" \
-F team_token="${TEAM_TOKEN}" \
-F notes="Build ${BUILD_NUMBER} uploaded automatically from Xcode. Tested by Chuck Norris" \
-F notify=True \
-F distribution_lists='all'
echo "Successfully sent to TestFlight"
Source from: Beginning Automated Testing With Xcode Part 2/2
Комментариев нет:
Отправить комментарий