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.6k stars 623 forks source link

[Bug] - Build fails with Carthage on Big Sur with Xcode 12.2 - fatal error: 'libetpan/libetpan.h' file not found #1897

Closed jraymonds86 closed 3 years ago

jraymonds86 commented 3 years ago

This seems to have popped up in the past under different circumstances but currently the build is failing with Carthage using:

update --platform macosx

The error seems to be sourced back to this comment in the log...

fatal error: 'libetpan/libetpan.h' file not found

This still works fine on Mojave with Xcode 11.3.1 so it could be something creeping in due to Apple silicon support but that is just a guess.

haithngn commented 3 years ago

@jraymonds86

Could you please try this and hope it will help you:

Cartfile

github "MailCore/mailcore2" "master"

Command

carthage update --platform osx

if you still face with this " fatal error: 'libetpan/libetpan.h' file not found "

try to install libetpan using brew:

brew install libetpan
jraymonds86 commented 3 years ago

I have since moved to SPM (instead of Carthage). Similar issue with the only fix using the "master" branch.

haithngn commented 3 years ago

@jraymonds86 thank you for updating, so could we close this issue?

jraymonds86 commented 3 years ago

Close with a work around to use the master branch.