I appreciate you post. I see that the JSON file is successfully retrievable from both your server and the Apple server using the following commands:
curl -v https://www.xn--voil-3na.app/.well-known/apple-app-site-association
curl -v https://app-site-association.cdn-apple.com/a/v1/xn--voil-3na.app
The "appID" seems to be misplaced in the original JSON, which is causing an issue. I've downloaded the JSON and verified it using sudo swcutil verify -d com.voila.voila -j ./test2.json -u https://xn--voil-3na.app/place
, as per Apple's guidelines: Debugging Universal Links.
This led to the discovery of a couple of problems with the JSON format. To help you get going, I've created a simplified version of the JSON based on yours, ensuring the "appID" is placed correctly:
{
"applinks": {
"details": [
{
"appIDs": ["36S5UK7JXS.com.voila.voila"],
"components": [
{
"/": "/place/*",
"comment": "Matches any URL with a path that starts with '/place/'."
}
]
}
]
},
"webcredentials": {
"apps": [ "36S5UK7JXS.com.voila.voila" ]
}
}
However, there's still a discrepancy in the domain. The command gives an error: Input domain “com.voila.voila” did not match input URL’s domain “voilà.app”
. This suggests that the domain specified in the sudo swcutil
command, "com.voila.voila", doesn't match the domain used in the URL, “voilà.app”.
Please ensure that you are using the correct bundle ID ('36S5UK7JXS.com.voila.voila'
in this case) everywhere, and that the domain name matches the bundle ID as specified within Apple's guidelines. Pay special attention to what's shown after the "." in your bundle ID and match it with the top-level domain of your website URL.
Once you fix the domain exposure issue, start test the AASA file with a simple default AASA file to validate that everything is working as expected. Once that's supported you can add more pathsRequired as needed. Give it another shot and let me know how it goes or better yet, follow the troubleshooting documentation that goes over each step: https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links