AirDrop issue with KML/GPX file from iMac to iPhone: iOS demanding an app from App Store

AirDropping KML files from iMac (27" 2019 - 11.2.1) to iPhone (8 - 14.4) is no longer working (completely).

It was all working flawlessly as recently as a couple of month ago (possibly even more recently).


Background

On iMac I have BBEdit set as the default program to open KML and GPX files (as I edit them frequently).

On iPhone I use several apps for these type of files but usually Maps.Me for KML and WorkOutDoors for GPX (to send to Watch (5 - 7.3).


Symptoms

The AirDrop process works up to the point of accepting the file in iPhone.

In the past iOS asked which of several apps I wanted to open with the most recently used one at the top of the list. Aside from a number of useless entries in the list (No, I do not want to open a KML in Overcast or Contacts) this was all well and good.


However when I did this yesterday iOS said "<My Name> would like to share a file that requires an app from the App Store". The choices were "App Store, Open with Files and Decline". The App store route takes one nowhere. Decline does work.


Workaround

The Workaround is simply to open the file from the Files app using Share. The Share tab has all the appropriate (and some worthless) suggestions for apps with which to open the file, and the process works as it should. However the files do need to be in iCloud to appear seamlessly on both devices, and I sometimes prefer to AirDrop directly from the iMac's local Download folder.


Tests

I tested the same file (it's stored on iCloud) sent from my MacBook Air and the result was the same.


I then sent the file to a friend's new MacBook (M1 - 11.2.1) which had never previously had a KML on it. Then from this MacBook I was able to AirDrop the file to both my iPhone and her iPhone (11 Pro - 14.4).


In the first test the KML file immediately opened in Maps.Me on the iPhone 11 Pro with no question. On the iPhone 8 it did ask which of several apps I wanted to use, which is the expected behaviour.


After installing Google Earth app on the iPhone 11 Pro it then asked which app we wanted to use (Google Earth, Maps.Me or Open with Files).


Conclusion

I am not sure where the problem lies:

  • Either in iOS for erroneously failing to identify the file as a KML (despite the filename suffix, and the fact that MacOS identifies it as a Google Earth file, and the fact that the iOS Share tab knows correctly what to do with it).
  • Or in the iMac which has a default program set which evidently is not in iOS (as its a programmer's editor). I have tried setting the default to Garmin Basecamp (which it had been some time ago) and also removing all default programs for KML/GPX files so that "Open with" defaults to TextEdit. This made no difference.


The icon shown on the iOS AirDrop acceptance screen is the BBEdit icon with KML written underneath. When the default was changed to Basecamp on iMac this iOS screen icon also changed, so it is appears to be coming from the iMac. Obviously neither BBEdit nor Basecamp are installed on the iPhone.


I conclude that iOS is receiving from my iMac some metadata about the file which leads it to think that it needs an app that it does not have. From the M1 MacBook it is somehow not receiving the same metadata and thus it open in the appropriate iOS.


So the questions is

How to proceed to get back to the status quo ante? Do I have to patiently wait for iOS (or MacOS) to be fixed.


I do not believe that this is limited to KML and GPX files. I presume it could apply to any file type for which there isn't necessarily a native iOS app. One further note: PDF and image files transfer as before, but then I have not changed the default program for these on iMac.


I am wondering if there is an app on iMac with which I could associate these two file types that would trigger its acceptance on iOS as a "mapping program" type file. I would lose the ability to just double-click my way into the editor, but that might be a price I would be prepared to pay (temporarily) to have AirDrop working again. As noted above, associating it with Basecamp did not do the trick.


Any suggestions gratefully received. Thanks.

iPhone 8

Posted on Feb 22, 2021 3:15 AM

Reply

Similar questions

2 replies

Feb 24, 2021 10:10 AM in response to BikeHikeMac

Two days later, with no changes made on my part and neither device rebooted, I find that the behaviour has reverted to normal. iOS (still 14.4) presents a short (and appropriate) list of apps with which to open a GPX file. Fired by this success I tried with a KML file and this worked as well.


The only difference I can see is that Finder is now showing these files as "BBEdit.app Document" rather than "Google Earth Document". This may be significant, and is something perhaps to watch for. Certainly it must have happened in the background, for I made no further efforts after posting the above question.



Feb 24, 2021 11:11 AM in response to BikeHikeMac

Slight clarification

The above reversion to normal behaviour is true only for iMac.


Testing just now on my MacBook Air (also on 11.2.1) I find that it does not work for either KML or GPX. It displays the same symptoms/message as before (I was using the same iPhone that just worked with the iMac).


Even though I tested this with the same files (stored on iCloud) there is one notable difference.

On the MacBook Air the KML files is described in Finder as "Keyhole Markup Language" while the GPX file is "GPS Exchange Format". On both machines the default program to open these types of files is BBEdit.

This indicates to me that the problem probably lies in the way that MacOS is describing the file when sending it to iPhone.


I would be glad to hear from anyone else who has encountered a similar problem (even with other files types) and what they were able to do to resolve it. Perhaps if someone knows how to force Finder/MacOS to call a file "BBEdit.app Document" rather than "Keyhole Markup Language".


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

AirDrop issue with KML/GPX file from iMac to iPhone: iOS demanding an app from App Store

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.