Did you find any fix for this?
Post
Replies
Boosts
Views
Activity
After creating a separate app I see no difference in the output. Still getting the connection state stuck on 'waiting' with error 'DNS'.
I have tried copying some code from https://developer.apple.com/documentation/network/nwconnection/collecting_network_connection_metrics to alter how the NWParameters are created and the options used but no luck.
@eskimo Hi thank you for your reply.
Potentially, I have not tried to replicate in a test app due to the setup time to replicate a similar environment. Since TCP and UDP were working as expected I was hoping to avoid creating a test app.
If that seems the most logical solution then I'm willing to try it out.
I've currently got my ALPN values as NWProtocolQUIC.Options(alpn: ["h3", "h2", "h1", "h3-29"]) and have tried using the decoded sni to create the NWConnection rather than raw IP but that hasn't changed the outcome.
You need the Xcode beta to run on an iOS 16 device. To enable developer mode go to Settings -> Privacy -> Developer Mode
What lead you to needing to exclude architectures at all?
The framework used libpcre and libpcre_arm for Simulator and Device with the other added to exclude for that output. With simulator now using both archs and no way exclude based on arch as well as simulator.
Technote 3117 goes into depth on the details.
Thank you this is super useful. I've been on this for a week and not found this article! This morning I've managed to allow x86_64 for simulator (to get an xcarchive) but add !targetEnvironment(simulator) when importing the framework which seems to make everything happy when making xcframeworks.
I'll close this off as the problem has been solved.