Skip to content

Commit ca47b02

Browse files
committed
Merge branch 'update-the-wireguard-go-branch-to-use-daita-ios-793'
2 parents 54f67bd + 3a3a0ce commit ca47b02

File tree

4 files changed

+47
-3
lines changed

4 files changed

+47
-3
lines changed

ios/.swiftformat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# file options
2-
--exclude Build, .spm, MullvadVPNScreenshots/SnapshotHelper.swift
2+
--exclude Build, .spm, MullvadVPNScreenshots/SnapshotHelper.swift, PacketTunnelCore/Daita/Maybenot.swift
33

44
# general options
55
--swiftversion 5.8

ios/MullvadVPN.xcodeproj/project.pbxproj

+32-1
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@
701701
A97D25B42B0CB59300946B2D /* TunnelObfuscationStub.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97D25B32B0CB59300946B2D /* TunnelObfuscationStub.swift */; };
702702
A97D30172AE6B5E90045C0E4 /* StoredWgKeyData.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97D30162AE6B5E90045C0E4 /* StoredWgKeyData.swift */; };
703703
A97FF5502A0D2FFC00900996 /* NSFileCoordinator+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97FF54F2A0D2FFC00900996 /* NSFileCoordinator+Extensions.swift */; };
704+
A9840BB42C69F78A0030F05E /* Maybenot.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9840BB32C69F78A0030F05E /* Maybenot.swift */; };
704705
A98502032B627B120061901E /* LocalNetworkProbe.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98502022B627B120061901E /* LocalNetworkProbe.swift */; };
705706
A988A3E22AFE54AC0008D2C7 /* AccountExpiry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A6F2FA62AFBB9AE006D0856 /* AccountExpiry.swift */; };
706707
A988DF272ADE86ED00D807EF /* WireGuardObfuscationSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = A988DF252ADE86ED00D807EF /* WireGuardObfuscationSettings.swift */; };
@@ -2013,6 +2014,7 @@
20132014
A97D25B32B0CB59300946B2D /* TunnelObfuscationStub.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelObfuscationStub.swift; sourceTree = "<group>"; };
20142015
A97D30162AE6B5E90045C0E4 /* StoredWgKeyData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoredWgKeyData.swift; sourceTree = "<group>"; };
20152016
A97FF54F2A0D2FFC00900996 /* NSFileCoordinator+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSFileCoordinator+Extensions.swift"; sourceTree = "<group>"; };
2017+
A9840BB32C69F78A0030F05E /* Maybenot.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Maybenot.swift; sourceTree = "<group>"; };
20162018
A98502022B627B120061901E /* LocalNetworkProbe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalNetworkProbe.swift; sourceTree = "<group>"; };
20172019
A988DF252ADE86ED00D807EF /* WireGuardObfuscationSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WireGuardObfuscationSettings.swift; sourceTree = "<group>"; };
20182020
A988DF282ADE880300D807EF /* TunnelSettingsV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelSettingsV3.swift; sourceTree = "<group>"; };
@@ -3330,6 +3332,7 @@
33303332
58C7A4372A863F450060C66F /* PacketTunnelCore */ = {
33313333
isa = PBXGroup;
33323334
children = (
3335+
A9840BB12C69F7190030F05E /* Daita */,
33333336
58C7A4382A863F450060C66F /* PacketTunnelCore.h */,
33343337
58C9B8DF2ABB273700040B46 /* URLRequestProxy */,
33353338
58C9B8C52ABB23B400040B46 /* IPC */,
@@ -3977,6 +3980,14 @@
39773980
path = Socks5;
39783981
sourceTree = "<group>";
39793982
};
3983+
A9840BB12C69F7190030F05E /* Daita */ = {
3984+
isa = PBXGroup;
3985+
children = (
3986+
A9840BB32C69F78A0030F05E /* Maybenot.swift */,
3987+
);
3988+
path = Daita;
3989+
sourceTree = "<group>";
3990+
};
39803991
A992DA1E2C24709F00DE7CE5 /* MullvadRustRuntime */ = {
39813992
isa = PBXGroup;
39823993
children = (
@@ -4428,6 +4439,7 @@
44284439
isa = PBXNativeTarget;
44294440
buildConfigurationList = 58C7A44B2A863F4A0060C66F /* Build configuration list for PBXNativeTarget "PacketTunnelCore" */;
44304441
buildPhases = (
4442+
A9840BB22C69F7290030F05E /* Import maybenot_machines */,
44314443
58C7A4312A863F440060C66F /* Headers */,
44324444
58C7A4322A863F440060C66F /* Sources */,
44334445
58C7A4332A863F440060C66F /* Frameworks */,
@@ -5061,6 +5073,24 @@
50615073
shellPath = /bin/sh;
50625074
shellScript = "if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif which swiftlint > /dev/null; then\n swiftlint PacketTunnel/**/*.swift\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
50635075
};
5076+
A9840BB22C69F7290030F05E /* Import maybenot_machines */ = {
5077+
isa = PBXShellScriptBuildPhase;
5078+
buildActionMask = 2147483647;
5079+
files = (
5080+
);
5081+
inputFileListPaths = (
5082+
);
5083+
inputPaths = (
5084+
);
5085+
name = "Import maybenot_machines";
5086+
outputFileListPaths = (
5087+
);
5088+
outputPaths = (
5089+
);
5090+
runOnlyForDeploymentPostprocessing = 0;
5091+
shellPath = /bin/sh;
5092+
shellScript = "MAYBENOT_MACHINES=`cat ${SRCROOT}/../dist-assets/maybenot_machines`\ncat > ${SRCROOT}/PacketTunnelCore/Daita/Maybenot.swift << EOF\n// swiftlint:disable line_length\n// This is an autogenerated file, do not edit\npublic struct Maybenot {\n public let machines=\"\"\"\n$MAYBENOT_MACHINES\n\"\"\"\n public let maximumEvents: UInt32 = 1000\n public let maximumActions: UInt32 = 1000\n}\n// swiftlint:enable line_length\nEOF\n";
5093+
};
50645094
A992DA2A2C2470B300DE7CE5 /* Build MullvadRustRuntime */ = {
50655095
isa = PBXShellScriptBuildPhase;
50665096
buildActionMask = 2147483647;
@@ -5444,6 +5474,7 @@
54445474
583832272AC3193600EA2071 /* PacketTunnelActor+SleepCycle.swift in Sources */,
54455475
58FE25DC2AA72A8F003D1918 /* AnyTask.swift in Sources */,
54465476
F04AF92D2C466013004A8314 /* PostQuantumNegotiationState.swift in Sources */,
5477+
A9840BB42C69F78A0030F05E /* Maybenot.swift in Sources */,
54475478
58FE25D92AA72A8F003D1918 /* AutoCancellingTask.swift in Sources */,
54485479
58FE25E12AA72A9B003D1918 /* SettingsReaderProtocol.swift in Sources */,
54495480
58C7A4582A863FB90060C66F /* TunnelMonitorProtocol.swift in Sources */,
@@ -9147,7 +9178,7 @@
91479178
repositoryURL = "https://github.com/mullvad/wireguard-apple.git";
91489179
requirement = {
91499180
kind = revision;
9150-
revision = e3fdc2e95ccd7a30284ec78f3bdf4f9a252a1ed2;
9181+
revision = 3c55cc305d30a02f87af5d6228ff416d3901d8dd;
91519182
};
91529183
};
91539184
/* End XCRemoteSwiftPackageReference section */

ios/MullvadVPN.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"kind" : "remoteSourceControl",
1515
"location" : "https://github.com/mullvad/wireguard-apple.git",
1616
"state" : {
17-
"revision" : "e3fdc2e95ccd7a30284ec78f3bdf4f9a252a1ed2"
17+
"revision" : "3c55cc305d30a02f87af5d6228ff416d3901d8dd"
1818
}
1919
}
2020
],
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// swiftlint:disable line_length
2+
// This is an autogenerated file, do not edit
3+
public struct Maybenot {
4+
public let machines="""
5+
789cd5cfbb0900200c04d08b833886adb889389f5bb9801be811acb58ae2837ce02010c158b070555c9538b6377a64dbb0ceff242c20b79038507dd169fbede9f629bf6f021efa1b66
6+
789cedd0510a401110856153f665ffbbb1030e991735717890f8eabae22f35e252e31a6c2b6c2bf158ce88010b61b69fed14db7fabd8498ffad17d8fedbf5decc4adde3ab7b0fddb045fa153d3ff09ecdb6c7faf0cd04322e8
7+
789cedd1510a80200c80617de95addff36dda096e84b209bfe0f1bb40f32297f1056cbdd954eb68d6c9b7ac8e2e33a650176fbdd6ea07df24227b7daaf9effa27df2462768edade766689fa2a093d47aedbf86f6291a3ad1593ffb6e45fb4454795e630ae31d11bd1bedffeb0151b22c62
8+
789cedd2bd4b82411c07f07b2a48846a089a326889861a9c2452ee12221e0ca2a5201ca5a122fc0bda042544370771f3159c9c0405e51914e45c5414df7d441075f00515c4c553f0117906075f40f0331c77c7ddef8efb1e05a6de8e6f3d96661392ee1c6a9f349b72e6316a6e542c4c980b5dbb24cfbbcccefa1d00d57df145ff44079506a677adacc29623a4780f30288a312e99440f809a7d9b457c4711a1b8cf7249ea2adf75cb698e1b4fb50f19dc4d67e0c95d12d354186ab3b1e74f5b9ab7aecc4e70f332e918bfdef6db03ce9042a2bba491e88324629022ef85a6f1aa95a3ece0efcb5f5223012039997e3b726455cb84a9f82322db96f6ff531dbada6558bb120bdce79915bf6c6bc5f51659febc1141265ee0
9+
"""
10+
public let maximumEvents: UInt32 = 1000
11+
public let maximumActions: UInt32 = 1000
12+
}
13+
// swiftlint:enable line_length

0 commit comments

Comments
 (0)