Refreshing AASA file?

I recently started a new app that supports universal links. I noticed an error in the apple-app-site-association (AASA) file and updated it. I used mode=developer in the applinks configuration, and it works well on Simulator, but for the life of me I can't get my device to load the new file, and the CDN hasn't updated in days.

Any suggestions for how to get it to update, or get iOS to load the file directly? mode=developer is supposed to do this, but it simply won't on device.

I've tried touching the file, and I can see its reported HTTP last modification date and eTag have changed.

I've tried deleting and reinstalling the app; I've tried restarting the phone; I've tried clean builds; I've tried changing the applinks:<domain> to something else and reinstalling; I've tried installing via TestFlight.

Answered by JetForMe in 849180022

I may have solved my problem. I just discovered the "Associated Domains Development" setting in Settings, and turned that on, and suddenly the phone fetched the AASA file directly.

I may have solved my problem. I just discovered the "Associated Domains Development" setting in Settings, and turned that on, and suddenly the phone fetched the AASA file directly.

I’m glad you got this sorted.

For the benefit of anyone else who stumbles across this thread, we have a technote, TN3155 Debugging universal links, full of hints and tips on this topic.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Refreshing AASA file?
 
 
Q