Skip to content

Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic

added pub config, added version 4.0

Sourav Kalal5116ac4c3938
diff --git a/MacOS/ProxyBridge/Config/proxybridge-app.xcconfig b/MacOS/ProxyBridge/Config/proxybridge-app.xcconfig
new file mode 100644
index 0000000..5d88cfe
--- /dev/null
+++ b/MacOS/ProxyBridge/Config/proxybridge-app.xcconfig
@@ -0,0 +1,26 @@
+//
+// Signing-Config.xcconfig
+// ProxyBridge
+//
+// Created by sourav kalal on 11/01/26.
+//
+
+// Configuration settings file format documentation can be found at:
+// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
+
+// MARK: - Team Configuration
+DEVELOPMENT_TEAM = L******* // update it
+
+// MARK: - Main App Signing (ProxyBridge)
+CODE_SIGN_STYLE = Manual
+CODE_SIGN_IDENTITY = Developer ID Application
+CODE_SIGN_ENTITLEMENTS = ProxyBridge/ProxyBridgeRelease.entitlements
+PRODUCT_BUNDLE_IDENTIFIER = com.interceptsuite.ProxyBridge
+PRODUCT_MODULE_NAME = ProxyBridge
+PRODUCT_NAME = ProxyBridge
+PROVISIONING_PROFILE_SPECIFIER = ProxyBridge Prod
+
+// MARK: - Additional Signing Settings
+CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO
+ENABLE_HARDENED_RUNTIME = YES
+
diff --git a/MacOS/ProxyBridge/Config/proxybridge-ext-xcconfig b/MacOS/ProxyBridge/Config/proxybridge-ext-xcconfig
new file mode 100644
index 0000000..f552f14
--- /dev/null
+++ b/MacOS/ProxyBridge/Config/proxybridge-ext-xcconfig
@@ -0,0 +1,25 @@
+//
+// Signing-Config-ext.xcconfig
+// extension
+//
+// Created by sourav kalal on 11/01/26.
+//
+
+// Configuration settings file format documentation can be found at:
+// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
+
+// MARK: - Team Configuration
+DEVELOPMENT_TEAM = L //edit it
+
+// MARK: - Extension Signing
+CODE_SIGN_STYLE = Manual
+CODE_SIGN_IDENTITY = Developer ID Application
+CODE_SIGN_ENTITLEMENTS = extension/extensionRelease.entitlements
+PRODUCT_BUNDLE_IDENTIFIER = com.interceptsuite.ProxyBridge.extension
+PRODUCT_MODULE_NAME = com_interceptsuite_ProxyBridge_extension
+PROVISIONING_PROFILE_SPECIFIER = ProxyBridge Extension Prod
+
+// MARK: - Additional Signing Settings
+CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO
+ENABLE_HARDENED_RUNTIME = YES
+
diff --git a/MacOS/ProxyBridge/ProxyBridge.xcodeproj/project.pbxproj b/MacOS/ProxyBridge/ProxyBridge.xcodeproj/project.pbxproj
index 134baa5..babf263 100644
--- a/MacOS/ProxyBridge/ProxyBridge.xcodeproj/project.pbxproj
+++ b/MacOS/ProxyBridge/ProxyBridge.xcodeproj/project.pbxproj
@@ -410,7 +410,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 3.0;
+ MARKETING_VERSION = 4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.interceptsuite.ProxyBridge;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -455,7 +455,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 3.0;
+ MARKETING_VERSION = 4.0;
REGISTER_APP_GROUPS = YES;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
@@ -495,7 +495,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
- MARKETING_VERSION = 3.0;
+ MARKETING_VERSION = 4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.interceptsuite.ProxyBridge.extension;
PRODUCT_NAME = "$(inherited)";
REGISTER_APP_GROUPS = YES;
@@ -534,7 +534,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
- MARKETING_VERSION = 3.0;
+ MARKETING_VERSION = 4.0;
REGISTER_APP_GROUPS = YES;
SKIP_INSTALL = YES;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
diff --git a/MacOS/ProxyBridge/ProxyBridge/AboutView.swift b/MacOS/ProxyBridge/ProxyBridge/AboutView.swift
index b4ddd9e..652f250 100644
--- a/MacOS/ProxyBridge/ProxyBridge/AboutView.swift
+++ b/MacOS/ProxyBridge/ProxyBridge/AboutView.swift
@@ -9,7 +9,7 @@ struct AboutView: View {
.font(.system(size: 28, weight: .bold))
.foregroundColor(.accentColor)
- Text("Version 3.0")
+ Text("Version 4.0")
.font(.system(size: 14))
.foregroundColor(.secondary)
diff --git a/MacOS/ProxyBridge/ProxyBridge/UpdateService.swift b/MacOS/ProxyBridge/ProxyBridge/UpdateService.swift
index caba7bb..a0a0d68 100644
--- a/MacOS/ProxyBridge/ProxyBridge/UpdateService.swift
+++ b/MacOS/ProxyBridge/ProxyBridge/UpdateService.swift
@@ -129,7 +129,7 @@ class UpdateService {
if let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String {
return "v\(version)"
}
- return "v3.0"
+ return "v4.0"
}
private func parseVersion(_ tagName: String) -> String {
diff --git a/MacOS/ProxyBridge/build.sh b/MacOS/ProxyBridge/build.sh
index 78761e9..9b81781 100755
--- a/MacOS/ProxyBridge/build.sh
+++ b/MacOS/ProxyBridge/build.sh
@@ -3,6 +3,12 @@
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+VERSION="4.0"
+
+if [ -f "$SCRIPT_DIR/.env" ]; then
+ source "$SCRIPT_DIR/.env"
+fi
+
APP_PATH="$SCRIPT_DIR/output/ProxyBridge.app"
if [ ! -d "$APP_PATH" ]; then
@@ -20,7 +26,7 @@ echo "Creating installer package..."
pkgbuild \
--root build/component \
--identifier com.interceptsuite.ProxyBridge \
- --version 3.0.0 \
+ --version 4.0.0 \
--install-location /Applications \
build/temp.pkg
@@ -39,34 +45,41 @@ cat > build/distribution.xml << 'EOF'
<choice id="com.interceptsuite.ProxyBridge" visible="false">
<pkg-ref id="com.interceptsuite.ProxyBridge"/>
</choice>
- <pkg-ref id="com.interceptsuite.ProxyBridge" version="3.0.0" onConclusion="none">temp.pkg</pkg-ref>
+ <pkg-ref id="com.interceptsuite.ProxyBridge" version="4.0.0" onConclusion="none">temp.pkg</pkg-ref>
</installer-gui-script>
EOF
productbuild \
--distribution build/distribution.xml \
--package-path build \
- output/ProxyBridge-Installer.pkg
+ output/ProxyBridge-v$VERSION-Universal-Installer.pkg
-echo "Package created: output/ProxyBridge-Installer.pkg"
+echo "Package created: output/ProxyBridge-v$VERSION-Universal-Installer.pkg"
-if [ -n "$APPLE_ID" ] && [ -n "$APPLE_APP_PASSWORD" ]; then
+if [ -n "$APPLE_ID" ] && [ -n "$APPLE_APP_PASSWORD" ] && [ -n "$SIGNING_IDENTITY" ]; then
+ echo "Signing installer..."
+ productsign --sign "$SIGNING_IDENTITY" \
+ output/ProxyBridge-v$VERSION-Universal-Installer.pkg \
+ output/ProxyBridge-v$VERSION-Universal-Installer-signed.pkg
+
+ mv output/ProxyBridge-v$VERSION-Universal-Installer-signed.pkg output/ProxyBridge-v$VERSION-Universal-Installer.pkg
+
echo "Notarizing installer..."
- xcrun notarytool submit output/ProxyBridge-Installer.pkg \
+ xcrun notarytool submit output/ProxyBridge-v$VERSION-Universal-Installer.pkg \
--apple-id "$APPLE_ID" \
- --team-id "" \
+ --team-id "$TEAM_ID" \
--password "$APPLE_APP_PASSWORD" \
--wait
echo "Stapling notarization ticket..."
- xcrun stapler staple output/ProxyBridge-Installer.pkg
- echo "Installer notarized"
+ xcrun stapler staple output/ProxyBridge-v$VERSION-Universal-Installer.pkg
+ echo "Installer signed and notarized"
else
- echo "Skipping notarization - set APPLE_ID and APPLE_APP_PASSWORD to notarize"
+ echo "Skipping signing/notarization - set APPLE_ID, APPLE_APP_PASSWORD, SIGNING_IDENTITY, and TEAM_ID in .env"
fi
rm -rf build
echo "✓ Build complete"
echo " App: output/ProxyBridge.app"
-echo " PKG: output/ProxyBridge-Installer.pkg"
+echo " PKG: output/ProxyBridge-v$VERSION-Universal-Installer.pkg"