MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.59k stars 623 forks source link

[Bug] - Getting Checksum Error while updating the Swift Package #1928

Closed TiscaliItaliaSpA closed 2 years ago

TiscaliItaliaSpA commented 2 years ago

Summary Getting

checksum of downloaded artifact of binary target 'MailCore2' (3ca246e1f9b98f404737b551b86e906394ceece99045f64216833cef6d236faa) does not match checksum specified by the manifest (c3479968c758094165fb0b4de5ca7dd9f8aafac423388c51406c447f69a1b853)

while updating Mailcore2 Swift Package because https://downloads.maddux.cloud/mailcore2-apple-xcframework/MailCore2-2020-09-24.xcframework.zip is redirected to https://gist.github.com/mattmaddux/4df12c711f7304d6cca680b94b218770

Platform(s)

iOS

Actual outcome Swift Packet Manager is unable to download the framework zip file due to bad checksum

Expected outcome MailCore2 should be linked to the framework zip file properly

mattmaddux commented 2 years ago

Sorry about that, changed some Apache settings and it removed public access to the directory that the Mailcore binary was sitting on (and accidentally forwarded to a Gist instead, as you saw). It's fixed now.

@dinhvh Would you guys be able to host the binary at the same location where the Cocoapods are hosted? (https://d.etpan.org/mailcore2-deps) That way they're together?

kodierwerk commented 2 years ago

I made modifications to the project to allow a new build of the XCFramework with Xcode 13. Most important is to remove EXCLUDED_ARCHS = arm64 in the t static ios lib target. Second I set INSTALL_PATH = @executable_path/../Frameworks back to default. Just remove custom content.

TiscaliItaliaSpA commented 2 years ago

Sorry about that, changed some Apache settings and it removed public access to the directory that the Mailcore binary was sitting on (and accidentally forwarded to a Gist instead, as you saw). It's fixed now.

@dinhvh Would you guys be able to host the binary at the same location where the Cocoapods are hosted? (https://d.etpan.org/mailcore2-deps) That way they're together?

SOLVED TNX man!