Building iOS on MacOS-12 20230709 Github Runner Troubleshooting

Lee young-jun
3 min readJul 22, 2023

--

3 days ago, my iOS deploy automation suddenly failed.

I retried to run failed jobs, but it failed again.
So I attempted to deploy live version, however it also failed.

As a result, I started tracing the reason and I discovered error code 65.

But I couldn’t find the detail. Fastlane just said that it’s hard to tell.

I visited Fastlane repo’s issues page, however there were no reports about this issue.

I thought it might not be an issue about Faselane, but rather with Github MacOS.
Therefore I compared MacOS runner of what succeeded and failed build and I found out that versions were different.

Version 20230623.2 succeeded building in 4 days ago.

But the failed version was 20230709.1.

I noticed that MacOS runner image had been something modified.
Hoping to downgrade MacOS-12 runner, therefore I started searching for A solution.
First, I visited the actions/runner-images repo.

I could see MacOS latest image has been upgraded to 20230709.2.
However I couldn’t find an way to downgrade MacOS image.

Then, I searched the issues with keyword “macos-12”.

I could get the hint from one of them.

Therefore I retried run building with macos-13 instead of macos-12 (lastest).

jobs:
deploy:
runs-on: macos-13

As a result, iOS building was successful.

Troubleshootings

I should add -i option into base64 command after upgrading to macos-13 image.

base64 -D -i {encoded file} -o {decoded file}

References

--

--

No responses yet