vincedev / MailCoreSPM

SPM for MailCore2 universal
20 stars 1 forks source link

MailCore.framework can't be opened because Apple cannot check it for malicious software #1

Closed rgbworld closed 2 years ago

rgbworld commented 2 years ago

When I run my project, I receive an error/alert that says: MailCore.framework can't be opened because Apple cannot check it for malicious software.

I am running the app via Xcode's standard "Run" option - which uses a 'debug' build configuration. There are 2 buttons on the alert: Show in Finder and OK. If I press OK, the app still launches and works as expected.

How do I prevent the warning?

It appears to me that it is a code-signing/security issue wrt the nested framework. I am hoping that when I 'archive' and notarize with Apple that the warning will go away.

Thanks for any suggestions. I'll report whatever I find as I try to resolve.

vincedev commented 2 years ago

I got MailCore.framework to build both for x86_64 and arm64 by:

Hope that helps