App unable to import files in iOS13

My app has the ability to import GPX route files. However I am getting reports from users of iOS13 that the app is no longer appearing in the list of available apps when they try to export a GPX file.


Has anyone else seen or heard of this, and does anyone know how I might get around it? As far as I know it is only the Imported UTIs that affect this - is iOS 13 more fussy about how they are specified?

  • I want the experience.

Add a Comment

Replies

I find the same: it is related to what other apps have registed the ability to read GPX files, and to the order in which they are installed.

Again, still not fixed in beta 4.

Looks like this is a big problem for many apps

My bug report for the issue says less than 10 people have reported it, so I am wondering if Apple do not actually realise how big the problem is because their systems are not correctly detecting that multiple reports are for the same bug. I guess it can be described in many ways.


Unfortunately iOS 13 is so buggy (the worst I can remember in over 10 years of iOS development) that bugs with so few reports are probably well down Apple's list of priorities.

Public iOS 13.1 seems to have the same problem to me. I added bug to Apple as well on this.

Hi there, managed to fix the problem for me.


Adding public.data value to the UTTypeConformsTo key did the trick.


<key>UTTypeConformsTo</key>

<array>

<string>public.data</string>

</array>

This works fine, when you install the app on iOS 13.


But when you do on iOS 12, then update iOS 13 it won't. I fear, even an update of an already installed app won't help.


As established earlier, this is only the case when other apps are present that support this file import, too.

I managed to get the app displayed in the share menu, but after I select that option, my app isn't opened nor it produces any error, I'm just redirected to the home screen.


This is even worse. 😠

That's right of course. You must provide an update that contains the key in the App's Info.plist. Any update is a new installation.


So what you mean is: if you install the update providing the key on iOS12 and do the upgrade to iOS13, it mechanism won't work either?

Weird...

No joy with 13.1.1

Same here, this is the situation:


Safari click on file (es. mail attachment):

IOS 12: straight to open file screen

IOS 13: downloads the file somewhere, interface is not clear, but when you figure out and find where to click you proceed to open file screen


Safari open file:

IOS 12: display screen with my custom UTI Type name and "open file with MyApp" button, on click opens the app correctly

IOS 13: display screen with the description of my custom UTI Type name, no buttons, look like it's broken. Need to look at the top for the share icon


Share dialog:

IOS 12: no problem

IOS 13: need to add (that i already had), i have a custom file, so no concurrent apps

<key>UTTypeConformsTo</key>

<array>

<string>public.data</string>

</array>


On "Copy to MyApp" click

IOS 12: Opens app at the proper screen with file loaded

IOS 13: Safari crashes, doesn't open the app, scroll to the frist ios screen



Looks like a fail on every side, how can this have been missed? or is there a documentation to apply the proper fixes?


The UX on IOS13 (even if it worked) is a 10 years step back in user experience on the import flow, i hope it's not intended.

I seem to have finally got it to work with iOS 13.1.1 by setting LSSupportsOpeningDocumentsInPlace to false - there's other apps installed on my device that can handle the same file but my app pops up in the share sheet and can open the file.

That didn't work for me. I already had it set to false.

The problem with knowing if any specific change fixes the problem is that just the act of installing can solve the problem. The order of installation/uninstallation seems to be a factor. I have had several users re-install other apps that register an interest in GPX files and suddenly my app appears on the share list, despite them having made no changes to it at all.


I have also had users for whom it was working with iOS 13.1 but then it broke when they installed iOS 13.1.1. It seems almost random but is triggered or fixed by the installation of a new iOS, or the install or uninstall of other apps that register interest in the same file type.


I am also now having problems with my workaround of showing a UIDocumentPickerViewController to allow files to be specifically imported. It seemed to work with iOS 13.0 (or at least no-one complained) but sometimes does not work since iOS 13.1 was released. Strangely it still does work for some users for whom the sharing mechanism is not working. So it helps some users but not others.


I had set the document type for this import controller to be kUTTypeXML but for some people this will not allow any files to be selected for the affected users. I will try making it kUTTypeData in the next version to see if that helps, although I would prefer not to make every data file selectable.

iPad Air 2 with iOS 13 does not show my apps in open-in list or AirDrop list


I've asked similar question and answered by myself so that please check the above thread.


I hope this may help you.

iOS 13.1.2 still no joy.