4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-31 05:23:44 +00:00

Update contrib/mobile for the latest iOS build

This commit is contained in:
Neil Alexander
2023-06-06 22:11:49 +01:00
parent 1420ea5662
commit db9b57c052
6 changed files with 73 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ if [ $IOS ]; then
echo "Building framework for iOS"
go get golang.org/x/mobile/bind
gomobile bind \
-target ios -tags mobile -o Yggdrasil.xcframework \
-target ios,macos -tags mobile -o Yggdrasil.xcframework \
-ldflags="$LDFLAGS $STRIP" -gcflags="$GCFLAGS" \
./contrib/mobile ./src/config;
fi