I have a shell script (publish_testflight.sh ) which is basically this one line.
xcrun altool --upload-app -t ios -f app.ipa -p @keychain:APP_KEY --verbose
It runs just fine if I call it from the command line, but when I call it from my action, it fails.
run: ./.github/scripts/publish_testflight.shNSLocalizedDescription Failed to get the password for the keychain item 'APP_KEY'. NSLocalizedFailureReason The keychain returned error code: -25308.
The best I can find is that -25308 is a permissions error. But it does not make sense that this runs fine on the build machine, but not when run from the GitHub action.
Any suggestions on how to fix this?