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] - Archive Failed in build-mailcore2-xcframework-spm.sh #1996

Open IMCHO opened 4 months ago

IMCHO commented 4 months ago

Summary I tried to run the scripts(build-mailcore2-xcframework-spm.sh) based on master branch, for making a new binary to support arm64 simulator. But I got a failed message in Build iOS Archive part in build-mailcore2-xcframework.sh file.

The following build commands failed:
    CompileC /Users/user/Library/Developer/Xcode/DerivedData/mailcore2-defryvdonqgsrvcdtzevnhmpsfpp/Build/Intermediates.noindex/ArchiveIntermediates/mailcore\ ios/IntermediateBuildFilesPath/mailcore2.build/Release-iphoneos/static\ mailcore2\ ios.build/Objects-normal/arm64/NSObject+MCO.o /Users/user/Desktop/Libraries/mailcore2/src/objc/utils/NSObject+MCO.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'static mailcore2 ios' from project 'mailcore2')

Can anyone know how to run the scripts properly?

ps. I removed Build Mac Archive part in build-mailcore2-xcframework.sh file, because I didn't need it.

Platform(s)

<iOS>

Happens on Mail Server

Piece of code

Actual outcome ARCHIVE FAILED

Connection Logs

Expected outcome

Link to sample code on GitHub reproducing the issue (a full Xcode project):

IMCHO commented 4 months ago

@guidedways any help for supporting arm64 simulator?