ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

Use SecureTransport instead of OpenSSL when building Qt on iOS #283

Closed martinburchell closed 1 year ago

martinburchell commented 1 year ago

Closes #136, #278

It's still a mystery why this is not working with OpenSSL.

https://developer.apple.com/documentation/security/secure_transport says "This API is considered legacy. Use the Network framework instead."

https://wiki.qt.io/Plans_for_Modules says "Investigate Apple's networking framework; SecureTransport was deprecated by Apple, need an alternative ". Qt are still shipping binaries with SecureTransport for iOS so I guess we wait to see what that alternative will be.

We still need to link OpenSSL when building CamCOPS so that SQLCipher will work.