passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
3 stars 1 forks source link

Run with xcode14.2 on M1 #308

Closed yuanshuainiuniu closed 1 year ago

yuanshuainiuniu commented 1 year ago

[ -n "" ] make: *** [/Users/marshal/Library/Developer/Xcode/DerivedData/TunnelKit-bykdvgrneivhknfxbkxezoxrhyks/Build/Intermediates.noindex/TunnelKit.build/Debug-iphonesimulator/wireguard-go-bridge/goroot/.prepared] Error 1 Command ExternalBuildToolExecution failed with a nonzero exit code

yuanshuainiuniu commented 1 year ago

change the path for go in the build_wireguard_go_bridge.sh helped

like this :

To ensure we have Go in our path, we add where

Homebrew generally installs executables

export PATH=${PATH}:/usr/local/bin:/opt/homebrew/bin

export PATH=${PATH}:/usr/local/go/bin

cd "$wireguard_go_dir" && /usr/bin/make

keeshux commented 1 year ago

This is about WireGuard.