CircleCI freezes on "Running script '[CP] Copy Pods Resources'" step

Pretty much nothing to add. The step is auto-generated by cocoapods, I’m running the build directy with xcodebuild:

  xcodebuild archive \
    -workspace ***.xcworkspace \
    -scheme *** \
    -destination generic/platform=iOS \
    -archivePath "archives/***" \
    SKIP_INSTALL=NO \
    BUILD_LIBRARY_FOR_DISTRIBUTION=YES | xcpretty

I’ve tried increasing the timeout but it’s been going on for 30m, no computer is that slow:

      - run:
          name: build_release
          command: ./scripts/build_release.sh
          no_output_timeout: 60m

(the build_release script contains a couple of steps but that xcodebuild command is the first one.)

Any ideas?

Are you using an Apple Silicon build runner? If so, here’s a similar issue on Bitrise: Known issue with the M1 open beta: Simulator GPU hang - #5 by ZevEisenberg - Feature Requests - Bitrise Discussions