For the past few weeks our iOS builds have been failing via errors in Fastlane. When we go to troubleshoot everything works as expected locally, and then we push those changes upstream. CircleCI is then triggered to start a build workflow.
Then we see the same error in CircleCI that we just fixed. This has been ongoing for weeks and frustrating to debug. We reran the jobs via SSH. Opened a session and went to the project directory. By happy accident we ran a “git status” and we noticed there were changes made to the Fastfile by the MacOS image itself. Almost like it reverted the changes to fix the issue in the first place. Reverting the Fastfile to a previous known or cached state.
Any help would be appreciated. We have attached a previous SSH session on a rerun.
Screenshot from Git and SSH session: