diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/SingBoxPacketTunnel.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/SingBoxPacketTunnel.xcscheme new file mode 100644 index 000000000..616e8f4a4 --- /dev/null +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/SingBoxPacketTunnel.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/VPN/VPNManager.swift b/ios/Runner/VPN/VPNManager.swift index 323485b84..0146459a8 100644 --- a/ios/Runner/VPN/VPNManager.swift +++ b/ios/Runner/VPN/VPNManager.swift @@ -94,7 +94,7 @@ class VPNManager: ObservableObject { } let newManager = NETunnelProviderManager() let `protocol` = NETunnelProviderProtocol() - `protocol`.providerBundleIdentifier = "\(Bundle.main.baseBundleIdentifier).SingBoxPacketTunnel" + `protocol`.providerBundleIdentifier = "com.hiddify.ios.SingBoxPacketTunnel" `protocol`.serverAddress = "localhost" newManager.protocolConfiguration = `protocol` newManager.localizedDescription = "Hiddify"