vincedev / MailCoreSPM

SPM for MailCore2 universal
20 stars 1 forks source link

Xcode 13.3: "not valid for use" error #3

Open cliftonlabrum opened 2 years ago

cliftonlabrum commented 2 years ago

Ever since upgrading to Xcode 13.3 and accepting the recommended project settings for my app, this package is no longer working. Here's the error I get:

dyld[72581]: Library not loaded: @rpath/MailCore.framework/Versions/A/MailCore code signature in <...> '/Users/.../Library/Developer/Xcode/DerivedData/MyApp-gzqkbbrjqdkwkyfdvbgtuywdvkjh/Build/Products/Debug/MailCore.framework/Versions/A/MailCore' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)

I tried deleting and reinstalling the package to no avail. Has anyone else run into this?

zykloman commented 2 years ago

Same here. Switching the macOS Signing Certificate for my app under Target > Signing & Capabilities from Sign to Run Locally to Development did the trick.