Tokens change without reason after updating to iOS 17.5.1

Some of our users encounter an issue after updating their iPhone/iPad to iOS 17.5.1.

The tokens passed in the Shield Configuration extension don't match the tokens they selected in my app using the FamilyPicker before updating to iOS 17.5.1. It seems the tokens changed for no reason. My app can't match the token from the ShieldConfigurationDataSource to any tokens stored on my end, causing my shield screens to turn blank. The same applies to tokens in the Device Activity Report extension.

The only workaround I've found is to tell affected users to unselect and reselect apps and websites to block in my app. This gets them new tokens from the FamilyActivityPicker, which solves the issue. However, for some users, the bug reoccurs a few days later. Tokens seem to change again, causing the same issue in the Shield Configuration extension.

I am not able to reproduce the issue on my test devices so I have no sysdiagnose to attach. However, this issue is affecting other screen time apps:

A change in iOS 17.5.1 must have triggered this behaviour. Could an Apple engineer give us any updates on this?

Answered by DTS Engineer in 847740022

Different DTS Engineer here, btw.

Unfortunately I don’t have anything particularly useful to share here. As far as we can tell this is a bug. There’s no code-level workaround, because tokens are opaque by definition. The user-level workaround was mentioned by thomas_maht in their original post. It’s annoying, but AFAICT it works.

We’re using FB14111223 to track this. I had a quick look through all the bugs mentioned here, and it seems that all but one [1] have been marked as a dup of that lead bug.

If you want to be notified if/when there’s a fix, feel free to file a bug and ask that it be dup’d to that bug.

Beyond that, I’m outta ideas )-:

Share and Enjoy

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

[1] And I’m working to fix the state of that last one.

OK.

I see a bunch of sysdiagnose logs attached to your bug. Can you highlight one that’s most relevant? Specifically:

  • That was taken shortly after you saw the problem reoccur.
  • Is on a reasonably modern version of iOS.

Feel free to either reply here with the sysdiagnose log name, or just update your bug and then reply here letting me know that you’ve done so.

Oh, if none of your existing sysdiagnose logs meet the above criteria, wait for the bug to reproduce, then grab a new sysdiagnose log, attach it to your bug, and then reply here.

Share and Enjoy

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

I see a bunch of sysdiagnose logs attached to your bug. Can you highlight one that’s most relevant?

For sure!

Here’s a feedback request on this from iOS 26 beta two: FB18353106

FB18353106

Looking at that bug report from our side, your sysdiagnose_2025.06.24_18-19-38-tttt_iPhone-OS_iPhone_bbbbbbbb.tar.gz attachment [1] shows as “File has failed to upload from user's device”. Can you check it from your side?

Share and Enjoy

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

[1] Note that I redacted bits of the file name somewhat.

File has failed to upload from user's device

Sorry about that! I was under the impression that the feedback assistant is fetching & uploading the sysdiagnose in the background.

I don’t find that exact sysdiagnose file anymore, but you can find another recent sysdiagnose from iOS 26 beta 1 in this radar: FB17844364

(I checked, and for this one you can actually download the sysdiagnose)

Thanks a lot for your help on this!

File has failed to upload from user's device

Actually the daily ApplicationToken reset just happened to me again, this time on iOS 26 beta 3.

Please find a fresh sysdiagnose here: FB18764644

Hope that helps to narrow down the bug!

After we wrote yesterday, I re-selected all my apps / ApplicationTokens within my app, and just now the tokens provided into the ShieldConfigurationDataSource are all different and unknown to my app.

I really really really would love to know how I can prevent this from happening for myself & my users 🥺🥺🥺

Previously it has been indicated that changes in iCloud Family can trigger this – while this might be true, this can’t be the only trigger for changing ApplicationTokens. Nothing is changing in my iCloud family on a regular basis.

As offered before, I am more than happy to run any kinds of tests or collect additional debugging material / logs / etc in case that would be helpful (or even travel to Cupertino with my iPhone if nobody there can reproduce the issue).

Please find a fresh sysdiagnose here: FB18764644

Thanks.

I’ve confirmed that that bug has the right info and it’s landed in the right place. That’s about all I can do here. I’ve set myself a remember to come back and check on this in a week.

Share and Enjoy

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

If this can be of any help, I also included a sysdiagnose in my feedback FB14111223.

About a year ago, I reproduced the issue: my app blocked a website, but the web domain token in my store didn’t match the one provided by the ShieldConfigurationDataSource.

I indicated the timestamp at which the issue occurred and attached a sysdiagnose from that time. I just checked — the sysdiagnose is downloadable on my end, so it seems correctly uploaded.

It was recorded on iOS 17, so it might be slightly outdated.

Hope that helps. Thanks!

I’ve set myself a remember to come back and check on this in a week.

Thanks a lot, Quinn! I’m super grateful for your help on this <3

Tokens change without reason after updating to iOS 17.5.1
 
 
Q