Skip to content

Unable to download framework #4

Open
@holyman2k

Description

@holyman2k

I got the following error from following the instruction to install PDFTron ios framework via the swift package manager. This may possibly cause by the domain redirect

failed downloading 'https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip' which is required by binary target 'PDFNet': 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 “www.pdftron.com” which could put your confidential information at risk.\" UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(\n \"<cert(0x11788a000) s: *.pdftron.com i: Sectigo RSA Organization Validation Secure Server CA>\",\n \"<cert(0x11788f000) s: Sectigo RSA Organization Validation Secure Server CA i: USERTrust RSA Certification Authority>\",\n \"<cert(0x1179e3800) s: USERTrust RSA Certification Authority i: AAA Certificate Services>\"\n), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip, NSErrorFailingURLStringKey=https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip, NSUnderlyingError=0x60006b704600 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 \"(null)\" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x600000c4e760>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9814, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9814, kCFStreamPropertySSLPeerCertificates=(\n \"<cert(0x11788a000) s: *.pdftron.com i: Sectigo RSA Organization Validation Secure Server CA>\",\n \"<cert(0x11788f000) s: Sectigo RSA Organization Validation Secure Server CA i: USERTrust RSA Certification Authority>\",\n \"<cert(0x1179e3800) s: USERTrust RSA Certification Authority i: AAA Certificate Services>\"\n)}}, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n \"LocalDownloadTask <60EDD92F-DCB7-4E46-9F71-1C2CB3D44A65>.<31>\"\n), _kCFStreamErrorCodeKey=-9814, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <60EDD92F-DCB7-4E46-9F71-1C2CB3D44A65>.<31>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x600000c4e760>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.pdftron.com” which could put your confidential information at risk.}")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions