Post

Replies

Boosts

Views

Activity

ShazamKit constantly fail without an error
In continuation to this question, I am now able to use ShazamKit in my app, but for every video I pass to it didFailWithSignature is always called: func session(_ session: SHSession,        didNotFindMatchFor signature: SHSignature,                  error: Error?) {         DispatchQueue.main.async {             print("match error: \(String(describing: error))")         }     } with the following output: match error: nil This is happening even with videos that are just screen recorded video clips of Ed Sheeran for example, something that Shazam would easily recognized. Any idea why that would happen? What I should investigate? (the full code is also updated on my GitHub
2
0
1.4k
Jun ’21
ShazamKit Error Code 202
I am trying to recreate the application shown in the "Explore ShazamKit" WWDC session using code samples from the ShazamKit code-along session, and I've got everything done in the preparation part before session.match(signature) is called. For some reason, the following function in the delegate: func session(_ session: SHSession,        didNotFindMatchFor signature: SHSignature,                  error: Error?) {         DispatchQueue.main.async {             print("match error: \(String(describing: error))")         }     } always prints: match error: Optional(Error Domain=com.apple.ShazamKit Code=202 "Please check that you have enabled the ShazamKit App Service for this app identifier" UserInfo={NSDebugDescription=Please check that you have enabled the ShazamKit App Service for this app identifier}) What can I do to fix that? The complete code for the app is available on my GitHub. Edit: just wanted to add that I'm using Xcode 13.0 Beta 1, on macOS Big Sur 11.4
2
0
1.7k
Jun ’21