Skip to content

Commit 82fcae5

Browse files
committed
Fix(NetworkExtension): Make [NWHostEndpoint hostname] return-nullable
Fixes #778. Signed-off-by: Paul Mabileau <[email protected]>
1 parent 75419b2 commit 82fcae5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

framework-crates/objc2-network-extension/translation-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ visionos = "1.0"
1010

1111
external.ASAccessory.module = "AccessorySetupKit.ASAccessory"
1212

13+
# See #778: the method has a wrongly-declared return nullability.
14+
class.NWHostEndpoint.methods.hostname.return.nullability = "nullable"
15+
1316
# Needs Network framework
1417
class.NEAppProxyFlow.methods."setMetadata:".skipped = true
1518
class.NEAppProxyFlow.methods.networkInterface.skipped = true

generated

0 commit comments

Comments
 (0)