简体   繁体   中英

APPLE APP SITE ASSOCIATION (AASA) Troubleshooting - iOS - Wordpress hosted site

I'm trying to set up AASA for my app and am testing on a Wordpress hosted site ( https://toycollectorapp.com )

I have uploaded the AASA file to the.well-known directory and added an .htaccess file so that Wordpress will apply the mime/JSON type to the file. The page validates using the Branch IO validator - https://branch.io/resources/aasa-validator/

I've added the entitlements in Xcode (applinks:toycollectorapp.com) and added the associated domain capability at developer.apple.com for

Even with all that, when I visit the site with the application installed I am not prompted to open the app... the site and application don't seem to be talking with each other... Any advice on what I could troubleshoot? Is it an issue with Wordpress?

It seems like this should be easy, so I'm not sure what I am missing... any advice would be appreciated. Zack

Try using Apple's validation tool: https://search.developer.apple.com/appsearch-validation-tool . I did a quick search for toycollectorapp.com and the validator could not reach your AASA.

Beyond that, you should also make sure the provisioning profile you're using contains the entitlement you added. If you're managing code signing manually, you need to re-generate a new one after you add a new capability to your App ID.

I went back in and added the old format with the apps:[] and appID and now it works, Even though the Apple WWDC 2020 says those items are no longer necessary: I guess they are! This formatting worked:

{

"applinks": {

"apps": [],
"details": [
{
  "appID": "xxxxxxxx.com.threebrothersapps.hobbydbvision",
  "paths": ["/*"],
  "appID": "xxxxxxxx.com.threebrothersapps.hobbydbvision",
  "paths": ["/*"],
  "appIDs": ["xxxxxxx.com.threebrothersapps.hobbydbvision", "xxxxxxx.com.threebrothersapps.hobbydbvision"],
  "components": [
  {
"/": "/*"
  },
  {
     "/": "/support/home/*"
  }
  ]
}
]

} }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM