Warpzit
Warpzit

Reputation: 28152

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?

Upvotes: 44

Views: 3684

Answers (1)

Saranjith
Saranjith

Reputation: 11567

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

Upvotes: 1

Related Questions