Hallo zusammen,
kurz für's Archiv und Google: Ich habe Probleme mit Dateien, deren Namenserweiterung im Konflikt mit system-seitig definierten UTIs liegen. Konkret sind es .JPX-Dateien der Firma Janome, die Maschinen-Stickmuster beinhalten, seitens iOS / iPadOS aber als JPEG-2000 ("public.jpeg-2000") klassifiziert werden. Selbst wenn ich - als Bypass - behaupte, meine App / Extensions könnten diese verarbeiten, scheitert ein Senden an den App-Store / TestFlight, da man keine system-seitig unterstützen UTIs als QLSupportedContentTypes definieren darf.
Das Ganze ist nun ein TSI und ich habe es auch im Apple Developer-Forum gepostet.
Mattes
kurz für's Archiv und Google: Ich habe Probleme mit Dateien, deren Namenserweiterung im Konflikt mit system-seitig definierten UTIs liegen. Konkret sind es .JPX-Dateien der Firma Janome, die Maschinen-Stickmuster beinhalten, seitens iOS / iPadOS aber als JPEG-2000 ("public.jpeg-2000") klassifiziert werden. Selbst wenn ich - als Bypass - behaupte, meine App / Extensions könnten diese verarbeiten, scheitert ein Senden an den App-Store / TestFlight, da man keine system-seitig unterstützen UTIs als QLSupportedContentTypes definieren darf.
Das Ganze ist nun ein TSI und ich habe es auch im Apple Developer-Forum gepostet.
Mattes
TSI schrieb:
QLSupportedContentTypes cannot contain system-supported types (UTIs)
Full description
My app is reading machine embroidery designs, e.g. represented in a proprietary file format from Janome with the file name extension .JPX - which is out of my control. In addition I’m providing QuickLook and Thumbnail extensions, used system-wide and in my app.
Unfortunately iOS is assigning the JPEG-2000 file type (UTI „public.jpeg-2000“) to this file extension, and therefore - to work with associated files - my app is importing this UTI and both extensions are listing „public.jpeg-2000“ in their info.plist as QLSupportedContentTypes. This works to some extend in simulators and when debugging from Xcode on a device: Files with the file extension „.JPX“ are listed with thumbnails provided by my extension, although the preview seems to invoke the system-provided viewer and fails. Not perfect, but good enough as my app requires an icon preview (aka thumbnail) in its UIDocumentBrowserViewController.
But when I try to submit my app incl. extensions to the Apple App Store / TestFlight asset validation is reporting an error:
„Asset validation failed. Invalid Info.plist value. The value for the key ‚QLSupportedContentTypes‘ in bundle … is invalid. [public.jpeg-2000] are system-supported types.“
How to assign QuickLook / Thumbnail extensions to 3rd party files types whose extension is conflicting with a system-supported UTI?
Platform
iOS / iPadOS
Hardware and software configuration
MacBook Pro 14“, 2021
macOS 14.2.1 (23C71)
Xcode 15.2 (15C500b)
iOS 17.3 / iPadOS 17.2
Steps to reproduce
Include a custom QuickLook / Thumbnail extension in an iOS app, supporting a 3rd party file type with a name extension already defined by the system. Submit this app for TestFlight testing.
Diese Seite bleibt aus technischen Gründen unbedruckt.