update build flags

This commit is contained in:
kulikov0 committed 2026-05-10 13:41:09 +02:00
1 parent 7352665629
commit 29dbf814cc
6 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ IPA_PATH="$ROOT/prebuilts/whitelist-bypass-proxy.ipa"
echo "Building gomobile .xcframework for iOS..."
cd "$ROOT/relay"
rm -rf "$ROOT/ios-proxy-app/Mobile.xcframework"
gomobile bind -v -target=ios -o "$ROOT/ios-proxy-app/Mobile.xcframework" ./pion/ios/ 2>&1
gomobile bind -v -trimpath -ldflags="-s -w" -target=ios -o "$ROOT/ios-proxy-app/Mobile.xcframework" ./pion/ios/ 2>&1
echo "xcframework size:"
du -sh "$ROOT/ios-proxy-app/Mobile.xcframework"