My code:
try {
Keychain.requestSharedWebCredentials()
} catch (e) {
console.log(e);
}
Xcode:


My apple association file hosted under my www.myCorrectDomain.com/apple-app-association-file:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "FDM2J9GHFZ.com.myCorrectDomain.app.ios",
"paths": [
"*"
]
}
]
},
"webcredentials": {
"apps": [ "FDM2J9GHFZ.com.myCorrectDomain.app.ios"]
}
}
Keep in mind that the _myCorrectDomain_ is virtual, in reality I'm using another domain, I'm just using this for the current example, but in my set up it's all under the right domain.
The error I receive is:
Error Domain=NSOSStatusErrorDomain Code=-25300 "no matching items found" UserInfo={NSDescription=no matching items found}
Hey, sorry for the late answer, but this is very likely a configuration error in your AAAF, try this tool from Apple or check Stack Overflow: https://search.developer.apple.com/appsearch-validation-tool
I don't even remember why I opened that issue, but it's fixed now, thanks :) you're the boss.
Hey @SudoPlz would you mind sharing how you ended up fixing this issue? I am having the same problem and no lock for me so far.
Thanks much!
@westerly I don't even remember but the Code=-25300 "no matching items found" error simply means it didn't find any shared credentials.
To make sure you properly catch this error though don't use a try catch block, instead do Keychain.requestSharedWebCredentials().catch(.......)
@westerly I don't even remember but the
Code=-25300 "no matching items found"error simply means it didn't find any shared credentials.To make sure you properly catch this error though don't use a try catch block, instead do
Keychain.requestSharedWebCredentials().catch(.......)
Thanks much!
Most helpful comment
I don't even remember why I opened that issue, but it's fixed now, thanks :) you're the boss.