This morning, all of my server-side Swift apps stopped working... The exact same code that has been running fine for 6 months suddenly stopped compiling. None of the packages that depend on OpenSSL (
swift-nio-ssl) compile anymore. They all show errors like:
use of undeclared type 'SSL' use of undeclared type 'SSL_METHOD' use of unresolved identifier 'SSL_CTRL_OPTIONS
and so on.
These are all Swift 4.2 apps running on IBM Cloud.
I've tried upgrading to Swift 5.0 (on macOS), but that results in similar errors complaining about missing openssl headers.
What's going on here?