It takes too long to remove domain

I'm working with FileProvider Framework (macOS).

It takes almost five minutes or more to remove a domain.

153:  NSFileProviderManager.remove(domain) { [weak self] error in

154:

155:         // Here..

Line 153 runs, and it takes more than five minutes to enter line 154.

How can i solve it?

Could you try again on macOS Ventura Developer Seed 2? There are relevant improvements in that seed.

If you still see the same symptom, please file a feedback through Feedback Assistant, and post the feedback number here.

It would be most helpful to:

  1. Install the iCloud Drive logging profile for macOS. (see instructions here: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=icloud%20drive)
  2. Capture a spindump (by running spindump in Terminal) while removeDomain is running, and attach the output to the Feedback.
  3. Capture a sysdiagnose (by running sysdiagnose in Terminal) while removeDomain is running, and attach the output to the Feedback.
It takes too long to remove domain
 
 
Q