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

Need amd64 target for Swift Package and Cocoapod #1991

Open wyllys66 opened 7 months ago

wyllys66 commented 7 months ago

Trying to build a project that incorporates MailCore2 on a new Apple Silicon host (M1/M2/M3) with XCode 15 fails with errors like:

MailCore.framework/MailCore': found architecture 'x86_64', required architecture 'arm64'

I've tried using the cocoapod method and also the Swift Package method, both fail with variations of the same message. The default binaries used in these configurations does not include the latest architectures.

Be-Maps commented 5 months ago

For now you have to exclude build of arm64 and use real device (this was my workaround), plus add "-ld64" to "Other linker Flags". 

IMCHO commented 4 months ago

I tried to run the scripts, but it failed 😞