Add document file extensions to xcode ios exporter

Moved from a GitHub issue:

modosc commented on 24 Nov 2021

it would be cool to support this on ios. there are some subtle differences in the plist format but it’s close enough to the existing macos support that it should be straightforward. i’d be happy to put a pr together if it would help.