Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

some frameworks are deprecated #25

Open
Sajjad-Taghinezhad opened this issue Jul 9, 2022 · 0 comments
Open

some frameworks are deprecated #25

Sajjad-Taghinezhad opened this issue Jul 9, 2022 · 0 comments

Comments

@Sajjad-Taghinezhad
Copy link

when building on macOS 12.4, got this error

src/ssl.c:83:22: error: 'SSLCreateContext' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Werror,-Wdeprecated-declarations]

kSSLClientSide
kSSLStreamType
SSLSetProtocolVersionMin
...
SSLClose

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1689:1: note: 'SSLRead' has been explicitly marked deprecated here
SSLRead (SSLContextRef context,
^

src/ssl.c:188:2: error: 'SSLClose' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Werror,-Wdeprecated-declarations]

and so more

@Sajjad-Taghinezhad Sajjad-Taghinezhad changed the title some frameworks are deprecated im MacOS 12.4 some frameworks are deprecated Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant