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
Post
Replies
Boosts
Views
Activity
Aye, will do.
Thanks!
Hi Matt, thanks for the quick response!
Report is submitted, ID: 9072905
Feedback ID: 9017446
Has anyone tested NEHotspotNetwork.fetchCurrent on iOS 15?
I have a project (with NETunnelProviderManager) which when i run on iOS 14.6 device everything works as expected. When i run the same project on iOS 15 Beta 3 device, the NEHotspotNetwork.fetchCurrent callback always return a nil object.
Thanks for the quick response!
Bug report is submitted.
ID: FB9361196
When i run the same project on iOS 15 Beta 3 device, the NEHotspotNetwork.fetchCurrent callback always return a nil object.
The issue is still present on my end on iOS 15 Beta 8.
The issue is still not fixed on iOS 15 GM.
I can confirm that the issue is fixed on iOS 15.1 RC / public release.
NEHotspotNetwork.fetchCurrent is now working as expected.
Hi!
From what I can see, the issue is still not fixed. Is there any info about this one?
Tested in iOS & iPadOS 15.2 Beta 4.
Thanks for the response.
Yes, the problem persists on iOS 16.0b4 as well.
I submitted a bug - FB11287912
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.
Thanks for the quick reply.
Sure, I'm aware that this is not the best place to place bug reports. I post here in hope to hear a confirmation from other developers before filing a bug report.
Report ID: FB11522371