XCode archive failing accusing runtime: goroutine stack exceeds 1000000000-byte limit

Bitrise Build Issue Report template

Description of the issue

I’ve been trying to make an archive to upload my build do Firebase but have been getting a goroutine stackoverflow error.

Environment:

Where did the issue happen?

, Xcode 13.0.x, on macOS 11.4 (Big Sur)

Which build Step causes the issue and which version of the step?

xcode-archive
version: 4.0.4

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? :
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : 2021.09.09

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.

On my local machine, using the Xcode regular archive im able to generate ipa with no problem at all.

Build log

https://app.bitrise.io/build/da509817-cd4d-442e-864f-94e5f9466cff#?tab=log