Mac Catalyst xcframework cannot be signed from Xcode

Hi,

I have a Mac Catalyst xcframework (ios, simulator, catalyst) that cannot be signed by Xcode, but was generated by it.

The xcframework is from my project ezored: https://github.com/ezored/ezored

You can see download link of xcframework on latest post here (apple don't let me post download link here):
https://github.com/ezored/ezored/issues/20#issuecomment-787029818

But the sample is here:
https://github.com/ezored/ezored/tree/master/projects/ios

The error is:
Code Block shell
dyld: Library not loaded: @loader_path/Frameworks/ezored.framework/Versions/A/ezored
 Referenced from: /Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/Sample.app/Contents/MacOS/Sample
 Reason: no suitable image found. Did find:
/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/ezored: code signature in (/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/ezored) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/Versions/A/ezored: code signature in (/Users/paulo/Library/Developer/Xcode/DerivedData/Sample-abxdtyhuvlqxbfhcnvbmzhxhtwjl/Build/Products/Debug-maccatalyst/ezored.framework/Versions/A/ezored) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
(lldb) 


I tried a lot of things and nothing.

Can anyone help me?

Mac Catalyst xcframework cannot be signed from Xcode
 
 
Q