Tag Archives: iOS simulator framework

Xcframework compilation failed, in which IOS simulator framework succeeded and device framework failed

An error will be reported when the script compiles xcframework, and the prompt XXXXXXXX/device.xcarchive/xxxxxxxx/your_ Framework not found. But the directory of the simulator can be found. In other words, the two frameworks and devices contained in the xcframework failed and the simulator succeeded

Check step by step and locate the error:

Command CodeSign failed with a nonzero exit code

Code sign reports an error, that is, signing the framework with a certificate reports an error

Then locate the error as

unable to build chain to self-signed root for signer "(null)"

There is a problem with the root certificate

There is a certificate named Apple worldwide developer relations certification authority in the keychain system. Delete it

Download the new certificate at

https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer

Recompile, successful.