-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support macCatalyst #304
Comments
Yes, I think the availability guards in |
I could fix the compilation. However I think ideally this should be accompanied with CI build tests on different platforms (iOS, macCatalyst, ...) which I dont think I could create/update on my own. My understanding is, please correct me if I am wrong, that while the main target of AsyncHTTPClient is Linux |
There are some logistical difficulties with that in general that @tomerd will need to do some thinking about. Suffice it to say that while we agree these should be tested, for now I think it's mostly important to get the software building again. |
AsyncHTTPClient 1.2.1 commit hash: 4b4d660
Context:
Building AsyncHTTPClient for Mac Catalyst fails with errors:
'sec_protocol_options_set_tls_min_version' is unavailable in Mac Catalyst
'sec_protocol_options_set_tls_max_version' is unavailable in Mac Catalyst
Steps to reproduce:
Package.swift
in XcodeMy Mac (Mac Catalyst)
$ swift --version
Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Target: x86_64-apple-darwin19.6.0
Operating system: macOS Catalina 10.15.6
$ uname -a
Darwin xxx 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
Xcode 11.6
Mac Catalyst 13.0
The text was updated successfully, but these errors were encountered: