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 Engineer in 812921022

We have confirmed this bug is still present. Please follow up in your bug report.

We had multiple reports of this exact issue as well from Opal users, we didn't open a bug report because we weren't able to reproduce the issue on our own devices 😢

I would also be very interested if this is a bug on our side (using the API wrong) or if this is something on Apple’s side.

Seeing multiple reports on this makes me think it’s more related to an Apple bug instead of individual bugs on our ends...

How are you identifying which token belongs to which application as I'm not getting any bundle name or localName from the activity Picker selected in my FamilyActivityPicker.

Is there any update on this, Thomas?

Seems like a pretty serious issue, but no feedback / input from Apple so far!

We also have this issue and it's happening on iOS 17.6 too, so apparently it's not resolved with the OS update unfortunately.

Hello everyone, I wanted to get back to this, it’s October now and we’ve seen some new iOS betas.

Did anyone of you find a workaround for this issue? I’m on the latest iOS 18.1 beta and I can still reproduce this problem every day.

As suggested by Apple in June, I have:

  • Filed a radar
  • Created a sample project to reproduce
  • Filed a DTS ticket

Even after 5 months: no responses.

I am very frustrated by their non-existing help with this issue.

We have confirmed this bug is still present. Please follow up in your bug report.

Tokens change without reason after updating to iOS 17.5.1
 
 
Q