Action extension not loaded in latest Pages on iOS 11.4

Hello,


It looks like the latest Pages version on iOS 11.4 is no longer loading our Action extension — prior to this release, the extension was loading and running properly: since upgrading Pages, the extension is never shown from Pages.


Our NSExtensionActivationRule contains the following query:


SUBQUERY (

extensionItems,

$extensionItem,

SUBQUERY (

$extensionItem.attachments,

$attachment,



(

ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.rtf"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.tiff"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.compuserve.gif"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.bmp"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.word.doc"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.word.docx"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.openxmlformats.wordprocessingml.document"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/x-iwork-keynote-sffkey"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/vnd.apple.keynote"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/x-iwork-pages-sffpages"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/vnd.apple.pages"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/x-iwork-numbers-sffnumbers"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/vnd.apple.numbers"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.apple.pages.pages"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.apple.keynote.keynote"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.apple.numbers.numbers"

|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "application/zip"



)

).@count == $extensionItem.attachments.@count

).@count == 1


Any idea why this query would not work in the latest Pages app?

Has anything changed in the query syntax that might explain why the Action extension is no longer loading?


Thanks,

Dario