Skip to content

Commit 7c6367a

Browse files
committed
Import the maybenot machines file in the project
1 parent 907a5c8 commit 7c6367a

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

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 */; };
@@ -2014,6 +2015,7 @@
20142015
A97D25B32B0CB59300946B2D /* TunnelObfuscationStub.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelObfuscationStub.swift; sourceTree = "<group>"; };
20152016
A97D30162AE6B5E90045C0E4 /* StoredWgKeyData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoredWgKeyData.swift; sourceTree = "<group>"; };
20162017
A97FF54F2A0D2FFC00900996 /* NSFileCoordinator+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSFileCoordinator+Extensions.swift"; sourceTree = "<group>"; };
2018+
A9840BB32C69F78A0030F05E /* Maybenot.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Maybenot.swift; sourceTree = "<group>"; };
20172019
A98502022B627B120061901E /* LocalNetworkProbe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalNetworkProbe.swift; sourceTree = "<group>"; };
20182020
A988DF252ADE86ED00D807EF /* WireGuardObfuscationSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WireGuardObfuscationSettings.swift; sourceTree = "<group>"; };
20192021
A988DF282ADE880300D807EF /* TunnelSettingsV3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelSettingsV3.swift; sourceTree = "<group>"; };
@@ -3331,6 +3333,7 @@
33313333
58C7A4372A863F450060C66F /* PacketTunnelCore */ = {
33323334
isa = PBXGroup;
33333335
children = (
3336+
A9840BB12C69F7190030F05E /* Daita */,
33343337
58C7A4382A863F450060C66F /* PacketTunnelCore.h */,
33353338
58C9B8DF2ABB273700040B46 /* URLRequestProxy */,
33363339
58C9B8C52ABB23B400040B46 /* IPC */,
@@ -3979,6 +3982,14 @@
39793982
path = Socks5;
39803983
sourceTree = "<group>";
39813984
};
3985+
A9840BB12C69F7190030F05E /* Daita */ = {
3986+
isa = PBXGroup;
3987+
children = (
3988+
A9840BB32C69F78A0030F05E /* Maybenot.swift */,
3989+
);
3990+
path = Daita;
3991+
sourceTree = "<group>";
3992+
};
39823993
A992DA1E2C24709F00DE7CE5 /* MullvadRustRuntime */ = {
39833994
isa = PBXGroup;
39843995
children = (
@@ -4429,6 +4440,7 @@
44294440
isa = PBXNativeTarget;
44304441
buildConfigurationList = 58C7A44B2A863F4A0060C66F /* Build configuration list for PBXNativeTarget "PacketTunnelCore" */;
44314442
buildPhases = (
4443+
A9840BB22C69F7290030F05E /* Import maybenot_machines */,
44324444
58C7A4312A863F440060C66F /* Headers */,
44334445
58C7A4322A863F440060C66F /* Sources */,
44344446
58C7A4332A863F440060C66F /* Frameworks */,
@@ -5062,6 +5074,24 @@
50625074
shellPath = /bin/sh;
50635075
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";
50645076
};
5077+
A9840BB22C69F7290030F05E /* Import maybenot_machines */ = {
5078+
isa = PBXShellScriptBuildPhase;
5079+
buildActionMask = 2147483647;
5080+
files = (
5081+
);
5082+
inputFileListPaths = (
5083+
);
5084+
inputPaths = (
5085+
);
5086+
name = "Import maybenot_machines";
5087+
outputFileListPaths = (
5088+
);
5089+
outputPaths = (
5090+
);
5091+
runOnlyForDeploymentPostprocessing = 0;
5092+
shellPath = /bin/sh;
5093+
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";
5094+
};
50655095
A992DA2A2C2470B300DE7CE5 /* Build MullvadRustRuntime */ = {
50665096
isa = PBXShellScriptBuildPhase;
50675097
buildActionMask = 2147483647;
@@ -5445,6 +5475,7 @@
54455475
583832272AC3193600EA2071 /* PacketTunnelActor+SleepCycle.swift in Sources */,
54465476
58FE25DC2AA72A8F003D1918 /* AnyTask.swift in Sources */,
54475477
F04AF92D2C466013004A8314 /* PostQuantumNegotiationState.swift in Sources */,
5478+
A9840BB42C69F78A0030F05E /* Maybenot.swift in Sources */,
54485479
58FE25D92AA72A8F003D1918 /* AutoCancellingTask.swift in Sources */,
54495480
58FE25E12AA72A9B003D1918 /* SettingsReaderProtocol.swift in Sources */,
54505481
58C7A4582A863FB90060C66F /* TunnelMonitorProtocol.swift in Sources */,
@@ -9149,7 +9180,7 @@
91499180
repositoryURL = "https://github.com/mullvad/wireguard-apple.git";
91509181
requirement = {
91519182
kind = revision;
9152-
revision = e3fdc2e95ccd7a30284ec78f3bdf4f9a252a1ed2;
9183+
revision = 6d6f39b6842efa3fc3d0c3d5cf6f6d919442b82f;
91539184
};
91549185
};
91559186
/* 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" : "6d6f39b6842efa3fc3d0c3d5cf6f6d919442b82f"
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)