Post

Replies

Boosts

Views

Activity

Reply to CoreML fails to decrypt a model
Had a similar error: Error Domain=com.apple.CoreML Code=9 "Failed to set up decrypt context for XXXX/XXXX.mlmodelc. error:-42905" UserInfo={NSLocalizedDescription=Failed to set up decrypt context for XXXX/XXXX.mlmodelc. error:-42905} - same error code 9 "Internal Error" and error -42905 as reported in original question. Mine was the only device displaying this error - other developers didn't report this issue - so something to do with my device - perhaps the phone blocking access due to suspicious looking behaviour, but hard to know. It did NOT display the error when building onto the device for the first time after app/data deletion, but when run subsequently without deletion, the error displayed every time. Power cycling the device seems to have solved the problem (at least for now). Didn't need to leave overnight or 10 hours.
Oct ’21