iOS long long time building like stuck

My config files:

lane :podinstall do
  cocoapods(
    silent: true
  )
end

lane :retrystore do
  sync_code_signing(
    git_full_name: "xxxx",
    git_user_email: "xxxx",
    git_url: "xxxx",
    skip_confirmation: true,
    readonly: true,
    type: "appstore"
  )
  build_app(
    scheme: "ColorCamera",
    workspace: "ColorCamera.xcworkspace",
    codesigning_identity: "Apple Distribution: xxxxxxx",
    include_bitcode: true
  )
  upload_to_app_store(
    skip_metadata: true,
    skip_screenshots: true,
    submit_for_review: true,
    ignore_language_directory_validation: true
  )
  slack(
    slack_url: "https://hooks.slack.com/services/xxxxxxxx",
    channel: "#notifications",
    message: "Successfully uploaded a new App Store build"
  )
end
name: ColorCamera CI Retry
on:
    push:
        tags:
            - 'retry'
        branches:
            - 'retry'
    pull_request:
        tags:
            - 'retry'
        branches:
            - 'retry'
jobs:
    test:
        name: RetryRelease
        runs-on: macOS-latest
        env:
            DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
        steps:
            - name: Check out
              uses: actions/checkout@v2
            - name: Update fastlane
              run: |
                  gem install fastlane -v 2.150.0.rc1
            - name: Git Credentials
              uses: fusion-engineering/setup-git-credentials@v2
              with:
                  credentials: 'https://xxxxxx:${{ secrets.ACCESS_TOKEN }}@github.com/'
            - name: Cocoapods Install
              uses: maierj/fastlane-action@v1.4.0
              with:
                  lane: 'podinstall'
              env:
                  FASTLANE_USER: 'xxxxxxxxxx'
                  FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
                  FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
                  FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
                  MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
                  MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
            - name: Push Release
              uses: maierj/fastlane-action@v1.4.0
              with:
                  lane: 'retrystore'
              env:
                  FASTLANE_USER: 'xxxxxxx'
                  FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
                  FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
                  FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
                  MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
                  MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}

Fail log:

I have retried many times, always running… 30min… 1hour…

It seems to be stuck.

so I stop the action, got the log.

Who can help me ? Thanks!

@rushairer,

From the current info you provided, we are not sure what causes the problem.
If possible, please share your repository with us, so that we can check more detailed info to analyze the root cause.

In addition, you also can check with the following steps:

  • Enable debug logging to see if you can get more info from the debug logs of the workflow run.
  • Make sure the Fastlane has been installed correctly on the runner.

Thanks for your help. @brightran

Could I create a personal token , and send to you? How to send it ?

I had added “enable debug logging”

Still stuck.
Every time it seems to compile near “AFNetworking”, it will get stuck.

@rushairer,

No, don’t share any password, token or other certificates with us.

If your repository is public, you can directly share the link of the repository with us, we will just fork your repository to our side to check and test.

If your repository is private, you can create a public repository to share a simple example which can reproduce the issue. We also will fork this example to our side to check and test.

We won’t changed anything on your repositories.

In addition, did you try the action “maierj/fastlane-action@v1.4.0” on Windows and Linux runners? If the job can work on Windows and Linux runners?

Thank you!
I will create a repository to test first.