Our build is broken because server serving this dependency has invalid certificate.
Platform(s)
iOS
Actual outcome
Showing All Messages failed downloading 'https://downloads.maddux.cloud/mailcore2-apple-xcframework/MailCore2-2020-09-24.xcframework.zip' which is required by binary target 'MailCore2': downloadError("Error Domain=NSURLErrorDomain Code=-1202 \"The certificate for this server is invalid. You might be connecting to a server that is pretending to be “downloads.maddux.cloud” which could put your confidential information at risk.\" UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(\n \"<cert(0x7fa1eeec1600) s: progress.hub.agwmafrica.org i: R3>\",\n \"<cert(0x7fa1eeac0600) s: R3 i: ISRG Root X1>\",\n \"<cert(0x7fa1eeacd600) s: ISRG Root X1 i: DST Root CA X3>\"\n), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://downloads.maddux.cloud/mailcore2-apple-xcframework/MailCore2-2020-09-24.xcframework.zip, NSErrorFailingURLStringKey=https://downloads.maddux.cloud/mailcore2-apple-xcframework/MailCore2-2020-09-24.xcframework.zip, NSUnderlyingError=0x7fa1f0a65790 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 \"(null)\" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x7fa1f9acbbf0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9843, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, kCFStreamPropertySSLPeerCertificates=(\n \"<cert(0x7fa1eeec1600) s: progress.hub.agwmafrica.org i: R3>\",\n \"<cert(0x7fa1eeac0600) s: R3 i: ISRG Root X1>\",\n \"<cert(0x7fa1eeacd600) s: ISRG Root X1 i: DST Root CA X3>\"\n)}}, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n \"LocalDownloadTask <742C6AA5-DA02-43AB-B356-FDFCEE5E564B>.<1>\"\n), _kCFStreamErrorCodeKey=-9843, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <742C6AA5-DA02-43AB-B356-FDFCEE5E564B>.<1>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x7fa1f9acbbf0>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “downloads.maddux.cloud” which could put your confidential information at risk.}")
Summary
Our build is broken because server serving this dependency has invalid certificate.
Platform(s) iOS
Actual outcome
Expected outcome Should be able to download.
Link to sample code on GitHub reproducing the issue (a full Xcode project): https://github.com/FlowCrypt/flowcrypt-ios/issues/667 https://downloads.maddux.cloud