Closed geeklingo closed 5 months ago
Hello @geeklingo. We will take a look, however could you please provide a code snippet to reproduce the error or link to your workflow? It will shorten investigation time.
Hello @geeklingo. We will take a look, however could you please provide a code snippet to reproduce the error or link to your workflow? It will shorten investigation time.
Hi, it's a private repo but here is the workflow that causes this. Please note, it works fine when i use macos-latest. It's failing at running bundle exec fastlane
deployForiOS:
name: Release to AppStore Connect
runs-on: macos-14
needs: buildForiOS
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Download iOS Artefact
uses: actions/download-artifact@v4
with:
name: Build-iOS
path: build/iOS
- name: Fix File Permissions and Run fastlane
env:
APPLE_TEAM_ID: ${{ env.GITHUB_ORG_SECRETS_APPLE_TEAM_ID }}
MATCH_REPOSITORY: ${{ env.GITHUB_ORG_SECRETS_MATCH_REPOSITORY }}
MATCH_DEPLOY_KEY: ${{ env.GITHUB_ORG_SECRETS_MATCH_DEPLOY_KEY }}
MATCH_PASSWORD: ${{ env.GITHUB_ORG_SECRETS_MATCH_PASSWORD }}
GH_PAT: ${{ env.GITHUB_ORG_SECRETS_MATCH_GIT_PRIVATE_KEY }} | base64 -d
APPSTORE_ISSUER_ID: ${{ env.GITHUB_ORG_SECRETS_APPSTORE_ISSUER_ID }}
APPSTORE_KEY_ID: ${{ env.GITHUB_ORG_SECRETS_APPSTORE_KEY_ID }}
APPSTORE_P8: ${{ env.GITHUB_ORG_SECRETS_APPSTORE_KEY_CONTENTS }}
IOS_BUILD_PATH: ${{ format('{0}/build/iOS', github.workspace) }}
IOS_BUNDLE_ID: redacted
PROJECT_NAME: redacted
GITHUB_REPOSITORY: redacted
run: |
export APP_STORE_CONNECT_API_KEY_KEY="${{ env.GITHUB_ORG_SECRETS_APPSTORE_KEY_CONTENTS }}"
export APPLE_SIGNING_ID="${{ env.GITHUB_ORG_SECRETS_APPLE_SIGNING_ID }}"
export MATCH_GIT_PRIVATE_KEY=$(echo ${{ env.GITHUB_ORG_SECRETS_MATCH_GIT_PRIVATE_KEY }} | base64 -d)
export FASTLANE_PASSWORD="${{ env.GITHUB_ORG_SECRETS_FASTLANE_PASSWORD }}"
eval "$(ssh-agent -s)"
ssh-add - <<< "${MATCH_GIT_PRIVATE_KEY}"
find $IOS_BUILD_PATH -type f -name "**.sh" -exec chmod +x {} \;
echo "::notice::Running Bundle Install"
bundle install
echo "::notice::Running Fastlane"
bundle exec fastlane ios release
Hello @geeklingo, could you please try to install libsodium
before executing fastlane?
You can do it with this command brew install libsodium
@Alexey-Ayupov that worked. So do i need to add that line now for all my repos or is there something in the image that will get updated?
@geeklingo, use it as a workaround for now. We will add this lib to the macos-14 image.
FYI getting this same issue on Linux now.
Using ubuntu-xlarge_a41492fcb2fe
Image: ubuntu-22.04 Version: 20240324.2.0 Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240324.2/images/ubuntu/Ubuntu2204-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240324.2
Description
I need to move to macos-14 to run the newer version of XCode to avoid AppStore publishing issues. But either ruby or fastlane seems to be broken on macos-14. Works fine on macos-latest (13).
Platforms affected
Runner images affected
Image version and build link
unknown - i don't see that option can only see ubuntu images and not the macos
Is it regression?
Yes - works in macos-13 / macos-latest
Expected behavior
Fastlane should execute without ruby errors
Actual behavior
Repro steps