Do you mean that uploading to TestFlight a macOS app with an NSFileProviderReplicatedExtension + a file provider UI extension triggers the same error? That will be an issue in the app submission process, because these extensions are supported on macOS, as discussed here.
I haven't tested this with macOS (yet). What I meant is that the two documents I listed before have the same contradiction for macOS as for visionOS.
I am not sure if the availability of the sample code makes it more official. I mean, that page lists Mac Catalyst as supported while FPUIActionExtensionViewController.h states
FPUI_AVAILABLE(ios(11.0), macos(10.15))
API_UNAVAILABLE(macCatalyst)
I'll probably try this for macOS at some point in the future as the app is also available on macOS (with NSFileProviderReplicatedExtension), but my current File Provider UI code is based on UIKit (coming from iOS) so that is why I started with visionOS. Which is not really encouraging yet :-)
From a developer's viewpoint the issue is pretty simple, as the full framework documentation lists visionOS as supported, and it works as expected in the simulator. It looks like just a flag at the App Store that is blocking the upload.
I remember facing a similar issue in the past with the App Store blocking a specific (legitimate) app type. I don't recall the exact details, maybe someone else recognizes this?
Anyway, I'll file the FB report as you requested.
Richard.