Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error=-25300 from AVPlayer

When I use AVPlayerItem(url: customUrl) from my app I get following runtime error:

CredStore - performQuery - Error copying matching creds.  Error=-25300, query={     class = inet;     "m_Limit" = "m_LimitAll";     "r_Attributes" = 1;     sync = syna; } 

The error is harmless, it just spams my console. The funny thing is I only get this error from main app, not from keyboard extension where the exact same code resides. It should be noted I'm accessing a https url with a .mp3 file. Any ideas how to silence the runtime error?

like image 748
Warpzit Avatar asked Nov 24 '17 12:11

Warpzit


Video Answer


1 Answers

This is an error when system tries to access the keychain item and which is not found. Refer Link for more information

@constant errSecItemNotFound The item cannot be found.

errSecItemNotFound = -25300

So internally AVFoundation, Speech To Text like frameworks are using Keychain itself.

If you are getting this issue in your own codes:

Refer: Link

like image 87
Saranjith Avatar answered Sep 30 '22 09:09

Saranjith