coreml uses xcrun command to compile encrypted model, ios15 device reports error and abnormal result

coreml uses xcrun coremlcompiler compile parsing.mlpackage . --encrypt parsing.mlmodelkey to compile and encrypt the .mlpackge model to generate .mlmodelc, which is then fed into the project for use. It works fine on ios16.0 devices and the result is correct, but on ios15 devices LoadModel reports an error: [espresso] [Espresso::handle_ex_plan] exception=ANECF error: _ANEEspressoIRTranslator : error at unknown location: File at path "/var/mobile/Library/Caches/com.apple.aned/clones/6BBA6DAB4BAF638CB557CACD5A878D143CE22E4F9896A3A341F24A3787910D71/parsing.mlmodelc/model.mil" cannot be read.,and the result is slightly different from the non-encrypted model, which does not exist in ios15

coreml uses xcrun command to compile encrypted model, ios15 device reports error and abnormal result
 
 
Q