vincedev / MailCoreSPM

SPM for MailCore2 universal
20 stars 2 forks source link

MailCore

A package wrapping MailCore2 macOS universal framework. See original MailCore2 repository.

Why ?

Because MailCore2 framework available through SPM hasn't been build for arm64 architectures.

How ?

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