[ShareSheet] Only support loading options for CKShare and SWY types.

             ShareLink(
                item: Image(systemName: "star"),
                subject: Text("Sharing an icon with you"),
                message: Text("This icon is made by the IconShop app"),
                preview: SharePreview("Icon", image: Image(systemName: "star")))
              {
                HStack {
                  Text("Share Image")
                  Spacer()
                  Image(systemName: "square.and.arrow.up")
                }
              }

At "Mac Catalyst" env, will get the log:

2023-01-21 11:16:39.469261+0800 IconShop[67164:10060637] [ShareSheet] Only support loading options for CKShare and SWY types.
2023-01-21 11:16:39.469577+0800 IconShop[67164:10060637] [ShareSheet] error fetching item for URL:file:///var/folders/tr/rw5_yr292bd7zvwhr83skzvc0000gn/T/io.aben.IconShop/.com.apple.uikit.itemprovider.temporary.zkrp0q/PNG%20image.png : (null)
2023-01-21 11:16:39.472151+0800 IconShop[67164:10060637] [ShareSheet] error fetching file provider domain for URL:file:///var/folders/tr/rw5_yr292bd7zvwhr83skzvc0000gn/T/io.aben.IconShop/.com.apple.uikit.itemprovider.temporary.zkrp0q/PNG%20image.png : (null)
2023-01-21 11:16:39.472951+0800 IconShop[67164:10060901] [ShareSheet] error loading metadata for documentURL:file:///var/folders/tr/rw5_yr292bd7zvwhr83skzvc0000gn/T/io.aben.IconShop/.com.apple.uikit.itemprovider.temporary.zkrp0q/PNG%20image.png error:Error Domain=NSFileProviderInternalErrorDomain Code=0 "No valid file provider found from URL file:///var/folders/tr/rw5_yr292bd7zvwhr83skzvc0000gn/T/io.aben.IconShop/.com.apple.uikit.itemprovider.temporary.zkrp0q/PNG%20image.png." UserInfo={NSLocalizedDescription=No valid file provider found from URL file:///var/folders/tr/rw5_yr292bd7zvwhr83skzvc0000gn/T/io.aben.IconShop/.com.apple.uikit.itemprovider.temporary.zkrp0q/PNG%20image.png.}
2023-01-21 11:16:41.884666+0800 IconShop[67164:10060637] [NSExtension] Extension request contains input items but the extension point does not specify a set of allowed payload classes. The extension point's NSExtensionContext subclass must implement `+_allowedItemPayloadClasses`. This must return the set of allowed NSExtensionItem payload classes. In future, this request will fail with an error.
2023-01-21 11:16:42.286195+0800 IconShop[67164:10060899] [ShareSheet] Connection invalidated

So I can not find "save to file" , "Shart to PhotoLibary" button in the share menu.

I have this issue also. Any resolution?

Did anyone find a solution? Same issue here.

I have the same issue and I am getting the same log. I can only share to Airdrop and apps like Mail and Message but there is no option to save the file.

[ShareSheet] Only support loading options for CKShare and SWY types.
 
 
Q