Problem testing SignificantAppUpdateTopic with AskCenter

Hi, I have a problem testing sending a significantAppUpdateTopic request with AskCenter.

Sending a request of type CommunicationTopic works correctly:

let question = PermissionQuestion<CommunicationTopic>(
  handle: .init(value: description, kind: .custom)
)

try await AskCenter.shared.ask(question, in: viewController)

Receiving the response from the guardian also works correctly for a question of type CommunicationTopic.

However, after changing the request from CommunicationTopic to significantAppUpdateTopic, I get the following cryptic error:

Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)"

(and nothing happens). This is the code I am using:

let topic = SignificantAppUpdateTopic(description: description)
let question = PermissionQuestion(significantAppUpdateTopic: topic)

try await AskCenter.shared.ask(question, in: viewController)

These are my settings:

  • I created a child account within a family group
  • the child's age in the family group is set to 15
  • I am the group organizer
  • I am not located in Texas or the United States

I am running this code in the app on a device where I am signed in as the child. Additionally, in the developer settings on the phone, I am signed in to a test Apple account where I set Age Assurance to: "Texas, child 13-15"

(I also tried it without that, but I got the same error message)

I would be very grateful for any information on how I can test this functionality without being in Texas.

Problem testing SignificantAppUpdateTopic with AskCenter
 
 
Q