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

IOS builds fail when using Golang 1.20: symbol(s) not found for architecture arm64 #117

Closed
sjoerdlmkns opened this issue Mar 6, 2023 · 7 comments · Fixed by #116 or #228
Closed
Labels
bug Something isn't working

Comments

@sjoerdlmkns
Copy link
Contributor

In the build-app-ios action the following error occurres:

Undefined symbols for architecture arm64: "_res_9_nclose", referenced from: _internal/syscall/unix.libresolv_res_9_nclose_trampoline.abi0 in Irmagobridge(go.o) "_res_9_ninit", referenced from: _internal/syscall/unix.libresolv_res_9_ninit_trampoline.abi0 in Irmagobridge(go.o) "_res_9_nsearch", referenced from: _internal/syscall/unix.libresolv_res_9_nsearch_trampoline.abi0 in Irmagobridge(go.o) ld: symbol(s) not found for architecture arm64

@sjoerdlmkns
Copy link
Contributor Author

golang/go#58416

@ivard
Copy link
Member

ivard commented Mar 7, 2023

Closed by accident. The mentioned fix was a work around.

@ivard ivard reopened this Mar 7, 2023
@ivard ivard changed the title IOS builds fail: symbol(s) not found for architecture arm64 IOS builds fail using Golang 1.20: symbol(s) not found for architecture arm64 Mar 7, 2023
@ivard ivard changed the title IOS builds fail using Golang 1.20: symbol(s) not found for architecture arm64 IOS builds fail when using Golang 1.20: symbol(s) not found for architecture arm64 Mar 7, 2023
@ivard ivard added the bug Something isn't working label Mar 14, 2023
@drew-512
Copy link

Thanks for working this -- running into this too.

@yulianaboglione
Copy link

Hola
Que hizo para solucionar este error?

@ivard
Copy link
Member

ivard commented Jun 27, 2023

We solved it by not upgrading to Go 1.20 yet. We kept using Go 1.19.

@yulianaboglione
Copy link

Y como hago para volver a la versión anterior de go? 1.19?

@ivard
Copy link
Member

ivard commented Aug 4, 2023

There is no universal answer on that question. It depends on your situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants