Support for M1 MacBook Simulators
dotneutron at protonmail.ch
Fri Oct 29 15:24:41 UTC 2021
I believe I encountered this in the past.
I'm not sure what your exact setup is since you mentioned it's a separate project presumably depending on WireGuardKit, but I can build libwg-go for arm64 just fine using the trick I mentioned in the linked thread. Just add this flag to Sources/WireGuardKitGo/Makefile.
GOOS_iphonesimulator := ios
Hope it helps.
More information about the WireGuard