Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions build failure: small method list #238

Closed
1 task done
danramteke opened this issue Dec 14, 2020 · 2 comments
Closed
1 task done

GitHub actions build failure: small method list #238

danramteke opened this issue Dec 14, 2020 · 2 comments

Comments

@danramteke
Copy link

Please help prevent duplicate issues before submitting a new one:

  • I've searched other open/closed issues for duplicates before opening up this new issue.

Report

What did you do?

I am using this project in a static site generator. For my project, swift test on macOS locally works, swift test on GitHub Actions ubuntu-latest works. But not on GitHub Actions macos-latest. Any advice?

What did you expect to happen?

I expected Down to compile fine, just like on local macOS, and on GitHub actions ubuntu-latest

What happened instead?

Error during swift test

objc[4135]: CLASS: class 'Down.DownLayoutManager' 0x112f08f08 small method list 0x112e31e40 is not in immutable memory

https://github.com/danramteke/leaf-press/runs/1547255760?check_suite_focus=true
Screen Shot 2020-12-13 at 7 30 21 PM

@iwasrobbed
Copy link
Collaborator

I personally don't have any experience w/ GitHub Actions, but typically on other CI systems it's best to SSH into the machine and figure things out locally, then apply the patch and push again.

Here's a related article: https://dev.to/retyui/how-debugging-github-actions-with-ssh-273n?a=github_community

@danramteke
Copy link
Author

just resolved this by changing my Package.swift

i had .macOS(.v11),
and changed it to .macOS("10.15.4"),

now it works. thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants