You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting data via Data(contentsOf:) and using an http-URL on Linux and Windows and not using the (conditional) import FoundationNetworking, the error message (with e.g. Swift 6.1.1) is
The specified URL type isn’t supported.
whereas with Swift 5.10 (tested on Linux) you got the message
Fatal error: You must link or load module FoundationNetworking to load non-file: URL content using String(contentsOf:…), Data(contentsOf:…), etc
which was so much nicer because it gave you a hint what to do.