I have a macOS App that uses a custom file format (XML based). It is properly in the Info.plist as a file format so that my App is launched when this custom file type is double clicked etc etc. All that has been working fine for awhile now.
If I use Finder and duplicate one of these custom files, it does the right thing and creates a "File 2.customxml" file, keeping the file extension intact.
But if I AirDrop one of these files to another Mac and there is already a file of the same name in the Downloads folder, it creates the file "File.customxml 2" instead of "File 2.customxml". And of course there is no Application registered to open a file of type ".customxml 2". If a user clicks "Open" in the AirDrop popup, my App is opened with this file the first time, but not opened or informed the second time and instead it falls to another App, eg: TextEdit
Is there anyway I can get AirDrop to do the "right" file naming? (This is all between 2 Macs)