snipsco / Postal

A Swift framework for working with emails
MIT License
652 stars 82 forks source link

Can not build on MacBook Air M1 #96

Open williammo opened 3 years ago

williammo commented 3 years ago

Thanks in advance. postal build fail

grigorye commented 3 years ago

As far as I understand README, libetpan is stored in binary form here. Given that M1 was not a thing 2 years ago, and that this project has not updated since that, probably it's worth trying to build it from source (README mentions some scripts) or e.g. adjust the configuration to use Homebrew'ed version of the library.

williammo commented 3 years ago

As far as I understand README, libetpan is stored in binary form here. Given that M1 was not a thing 2 years ago, and that this project has not updated since that, probably it's worth trying to build it from source (README mentions some scripts) or e.g. adjust the configuration to use Homebrew'ed version of the library.

Thanks for helping!

lionserdar commented 2 years ago

@williammo did u solve above issue ?

Rspoon3 commented 1 year ago

Has there been any progress on this?

Be-Maps commented 7 months ago

Similar problem to MailCore2, for me the below fixed it (works with real device only, not simulator): Exclude build of arm64 and add "-ld64" to "Other linker Flags"

NOTE: would be nice to have this project reopened / forked as mailcore2 creates threads in c and this thread memory will not get released by swift.