Post

Replies

Boosts

Views

Activity

Reply to URLSessionWebSocketTask - sendPing's pongReceiveHandler called twice
Thanks Quinn, I ran into what appears to be a bug involving websocket after migrating my app to Swift 6 Concurrency. I spent a lot of time trying to work out what was wrong, and then came across your post on this topic, and concluded that it was likely a bug in URLSessionWebSocketTask, rather than in my own code. I then started looking at the Network framework, then discovered the NWWebSocket package, struggled with it for a few days, then got a clue off the Issues for that repo, and finally worked it out & got it working at 1 am this morning. It was a painful & time consuming process, but would have been far more painful without your post from June last year. Thankyou! Andrew
Apr ’25
Reply to Preview keeps crashing
Thanks, that terminal app command suggestion was helpful in fixing a preview crash problem that I had. There were two additional things that I had to do: 1 - if the simctl utility is not on your path (likely the default case), then point your terminal at: Applications/Xcode/Contents/Developer/usr/bin (you may need to unhide hidden folders and/or open the Xcode package), and do the command as: xcrcun ./simctl --set previews delete all 2 - the -set option actually requires a double dash: --set
Oct ’21