Closed whtank closed 6 years ago
do you have any steps to reproduce the issue?
It works well if I use it directly in an application, however, if I build it into a .framework, it produces above link errors
Then it's probably an issue in your build/linker settings
finally got the reason: we need link 'security.framework' in our framework project, but it is not needed in single application project
Showing Recent Issues "_SSLGetNegotiatedProtocolVersion", referenced from:
"_SSLHandshake", referenced from:
"_SSLCopyPeerTrust", referenced from:
"_SecTrustSetAnchorCertificates", referenced from:
"_SecTrustSetAnchorCertificatesOnly", referenced from:
"_SSLWrite", referenced from:
"_SecTrustEvaluate", referenced from:
"_SSLSetProtocolVersionMax", referenced from:
"_kSecClass", referenced from:
"_kSecReturnRef", referenced from:
"_kSecMatchLimit", referenced from:
"_SecItemCopyMatching", referenced from:
"_SecCertificateCopySubjectSummary", referenced from:
"_SecPKCS12Import", referenced from:
"_SSLGetNegotiatedCipher", referenced from:
"_SSLSetPeerDomainName", referenced from:
"_kSecImportItemIdentity", referenced from:
"_SSLSetCertificate", referenced from:
"_SecIdentityCopyCertificate", referenced from:
"_SSLSetEnabledCiphers", referenced from:
"_SecPolicyCreateSSL", referenced from:
"_SSLGetBufferedReadSize", referenced from:
"_kSecImportExportPassphrase", referenced from:
"_SSLCreateContext", referenced from:
"_SSLSetSessionOption", referenced from:
"_SSLGetNumberSupportedCiphers", referenced from:
"_SSLSetProtocolVersionMin", referenced from:
"_SSLGetSessionState", referenced from:
"_kSecMatchLimitAll", referenced from:
"_SSLSetPeerID", referenced from:
"_kSecAttrLabel", referenced from:
"_SecCertificateCreateWithData", referenced from:
"_SSLRead", referenced from:
"_SSLSetIOFuncs", referenced from:
"_SSLGetSupportedCiphers", referenced from:
"_kSecMatchPolicy", referenced from:
"_SSLSetConnection", referenced from:
"_kSecClassIdentity", referenced from:
"_SSLClose", referenced from: