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

[Bug] - Plans for Apple's M1 Architecture Support? #1941

Closed vinhqn closed 2 years ago

vinhqn commented 2 years ago

Dear @dinhvh

I have problem building mailcore2 on Apple's M1 Architecture, can mailcore2 update to support Apple's M1 Architecture?

ld: in /Users/vinhnguyen/whpmail/Pods/mailcore2-ios/lib/libMailCore-ios.a(MCONNTPFetchOverviewOperation.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/vinhnguyen/whpmail/Pods/mailcore2-ios/lib/libMailCore-ios.a' for architecture arm64

image : https://drive.google.com/file/d/1YzlMP01c4wvqagbd3y-SKmG-it24uW38/view?usp=sharing

crasholo commented 2 years ago

+1 for this. I had to turn off mailcore2 usage from my iOS projects (without Rosetta support). I hope to have news soon. Thanks

pedrosakey commented 2 years ago

🔝 hello same issue here, would it be possible to give an estimation about when it could be ready or should I try an alternative solution? Many thanks 🙏

dinhvh commented 2 years ago

I'll find some time to get the dependencies built.

The issue is that we need to build the dependencies for arm64.

kyungkoo commented 2 years ago

1938

lionserdar commented 2 years ago

Any update on this matter ?

dinhvh commented 2 years ago

Could you try with the latest master? The build should be fixed now.

RobinSiep commented 1 year ago

Install using the master branch like:

pod 'mailcore2-ios', :git => 'https://github.com/MailCore/mailcore2.git'

gives

fatal error: 'libetpan/libetpan.h' file not found
#include <libetpan/libetpan.h>

...

The following build commands failed:
        CompileC /Users/robin/MailCore-Builds/dependencies/workdir/20220810144903/tmp/obj/mailcore2.build/Release-iphoneos/static\ mailcore2\ ios.build/Objects-normal/armv7s/NSObject+MCO.o /Users/robin/Library/Caches/CocoaPods/Pods/External/mailcore2-ios/a9d76f274c9a88cfa70e2bb1c78c08aa/src/objc/utils/NSObject+MCO.mm normal armv7s objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'static mailcore2 ios' from project 'mailcore2')
dan-ryan commented 1 year ago

@dinhvh The Master branch doesn't work for me: https://ibb.co/Sy1Z62Z

mpdifran commented 1 year ago

Yeah master doesn't work for me either on macOS or simulator.

Tobaibrahim commented 3 weeks ago

Are there any plans of getting this working anytime soon?