Post

Replies

Boosts

Views

Activity

Reply to URLComponent does not accept IPv6 address as host in iOS 16
Apple engineer confirmed that this is the expected behaviour: According to RFC 2732 Section 2, IPv6 addresses must be enclosed in [ and ] when it’s part of an URL. In this particular case, the host should be ipv6URLComponents.host = “[2001:0000:3238:dfe1:0063:0000:0000:fefb]”. I can confirm that the suggested solution works in iOS 16. However, the problem is that it is only a workaround, since enclosing IPv6 address in [] does not work in iOS 15 and older. So I still need to use if #available(iOS 16.0, *) {} syntax if I want my code to work in both iOS 15 and 16. I don't expect any updates regarding the issue. Just posting this in case someone with the same problem lands here.
Aug ’22
Reply to NEVPNManager + NEDNSSettingsManager - "permission denied" Error
Hi Matt, thanks for a quick response! I got some logs and i see an error message you suspected: Failed to save configuration: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied} error 18:13:58.559906+0100 nehelper DOHIKEv2Demo trying to save a new personal VPN configuration with identifier 02104B62-C78E-49F7-8C65-07BDB9CE774F, but a configuration ({ ConfigurationProperties = { "BA7E6598-36E9-4CDD-9AD1-C6C3AA5CA21A" = { ApplicationID = "com.jurajhilje.DOHIKEv2"; Signature = {length = 20, bytes = 0x63755815c4d8e943b535a3844d36458d65f4a173}; }; }; UserMap = { "FFFFEEEE-DDDD-CCCC-BBBB-AAAA000001F5" = ( "BA7E6598-36E9-4CDD-9AD1-C6C3AA5CA21A" ); }; }) already exists for application identifier com.jurajhilje.DOHIKEv2 I'm sending full logs in the attachment. Do you know of a possible workaround for this conflict? com.jurajhilje.DOHIKEv2-logs.txt - https://developer.apple.com/forums/content/attachment/bfcfe595-fdf0-49c2-ab67-4c9937d6120b
Feb ’21