Core ML model decryption on Intel chips

About the Core ML model encryption mention in:https://developer.apple.com/documentation/coreml/encrypting-a-model-in-your-app

When I encrypted the model, if the machine is M chip, the model will load perfectly. One the other hand, when I test the executable on an Intel chip macbook, there will be an error:

Error Domain=com.apple.CoreML Code=9 "Operation not supported on this platform." UserInfo={NSLocalizedDescription=Operation not supported on this platform.}

Intel test machine is 2019 macbook air with CPU: Intel i5-8210Y, OS: 14.7.6 23H626, With Apple T2 Security Chip.

The encrypted model do load on M2 and M4 macbook air. If the model is NOT encrypted, it will also load on the Intel test machine.

I did not find in Core ML document that suggest if the encryption/decryption support Intel chips.

May I check if the decryption indeed does NOT support Intel chip?

Hi,

we discovered the exact problem this week in one of our apps (Mac Catalyst). Decoding works on M1 Macs, but does not work MacBook Pro i9 (tested with macOS 15.3.1 and macOS 15.6.1) with the same error with a Mac App Store distributed app.

Apple:

  • Is Core ML model encryption not supported on Intel Macs ?

Thank you

Core ML model decryption on Intel chips
 
 
Q