Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: unknown pc on macOS Mojave with cgo app built on macOS Catalina #37849
What version of Go are you using (
Do you know if this is due to a specific C API you were using, or is this a general problem?
I can reproduce on 10.12.6 (an old mac I have lying around).
On 10.12.6, it doesn't:
So it looks like objective C isn't backwards compatible without adding a
When run on 10.15.2, it works fine. On 10.12.6, it prints: