Skip to content

Commit 7c36c7f

Browse files
committed
Update wireguard-apple
1 parent 0ba177b commit 7c36c7f

File tree

8 files changed

+10
-6
lines changed

8 files changed

+10
-6
lines changed

.github/workflows/ios-screenshots-creation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup go-lang
2020
uses: actions/setup-go@v3
2121
with:
22-
go-version: 1.19.5
22+
go-version: 1.20.14
2323

2424
- name: Set up yeetd to workaround XCode being slow in CI
2525
run: |

.github/workflows/ios-screenshots-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup go-lang
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: 1.19.5
38+
go-version: 1.20.14
3939

4040
- name: Set up yeetd to workaround XCode being slow in CI
4141
run: |

.github/workflows/ios-validate-build-schemas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup go-lang
3737
uses: actions/setup-go@v3
3838
with:
39-
go-version: 1.19.5
39+
go-version: 1.20.14
4040

4141
- name: Set up yeetd to workaround XCode being slow in CI
4242
run: |

.github/workflows/ios.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup go-lang
6363
uses: actions/setup-go@v3
6464
with:
65-
go-version: 1.19.5
65+
go-version: 1.20.14
6666

6767
- name: Set up yeetd to workaround XCode being slow in CI
6868
run: |

ios/MullvadVPN.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9111,7 +9111,7 @@
91119111
repositoryURL = "https://github.com/mullvad/wireguard-apple.git";
91129112
requirement = {
91139113
kind = revision;
9114-
revision = 15242e1698fc45261285d7417ed2cd5130d7332e;
9114+
revision = 5f24cdf1aa7fc1802f1695473aab95b4451e4ba0;
91159115
};
91169116
};
91179117
/* 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" : "15242e1698fc45261285d7417ed2cd5130d7332e"
17+
"revision" : "5f24cdf1aa7fc1802f1695473aab95b4451e4ba0"
1818
}
1919
}
2020
],

ios/PacketTunnel/WireGuardAdapter/WireGuardAdapterError+Localization.swift

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ extension WireGuardAdapterError: LocalizedError {
3535

3636
case let .startWireGuardBackend(code):
3737
return "Failure to start WireGuard backend (error code: \(code))."
38+
case .noInterfaceIp:
39+
return "Interface has no IP address specified."
3840
}
3941
}
4042
}

ios/build-wireguard-go.sh

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ fi
3737
WIREGUARD_KIT_GO_PATH="$RESOLVED_SOURCE_PACKAGES_PATH/checkouts/wireguard-apple/Sources/WireGuardKitGo"
3838
echo "WireGuardKitGo path resolved to $WIREGUARD_KIT_GO_PATH"
3939

40+
export PATH=/opt/homebrew/opt/go@1.20/bin:$PATH
41+
4042
# Run make
4143
# shellcheck disable=SC2086
4244
/usr/bin/make -C "$WIREGUARD_KIT_GO_PATH" $ACTION

0 commit comments

Comments
 (0)