A package wrapping MailCore2 macOS universal framework. See original MailCore2 repository.
Because MailCore2 framework available through SPM hasn't been build for arm64 architectures.
MailCore2 macOS universal framework is wrapped inside an XCFramework, and this in turn is wrapped here. MailCore2 framework depends on two libraries :
Those two libraries have been built as universal libraries, and MailCore2 as well linking with the two.
Finally, the XCFramework was created using xcodebuild
:
> $ xcodebuild -create-xcframework -framework MailCore.framework -output MailCore.xcframework