Reputation: 3221
I'm attempting to integrate the wireguard-apple package into my macOS Xcode project. enter link description here. I've followed the instructions in the README, but I keep getting this error when building the project:
This is how I have the project structure set-up:
And how I have the External Build System target configured:
It's not clear to me what other steps if any are needed that aren't included in the repository's readme. Any help is appreciated!
Upvotes: 1
Views: 961
Reputation: 185
I recommend that you try the following procedure.
go
language is well installed.$(GOROOT)
.$(GOROOT)
% go env GOROOT
/usr/local/go
Target
-> your External Build System
-> Build Settings
.PATH
: GOROOT
/bin. (Enter your GOROOT.)I had the same problem a few months ago and found the above solution through searching, but unfortunately I didn't write down the original article, so I can't give you the original post.
Anyway, I hope this solves your problem.
Upvotes: 0