2017-01-06 1 views
1

Je crée une application qui permet à l'utilisateur de partager son livret de portefeuille iOS à mon application. Cela fonctionne déjà mais mon application est manquante dans la liste de partage de portefeuille iOS après avoir modifié le profil de certification et d'approvisionnement de l'entreprise à la distribution. Je n'ai aucune idée de ce qui ne va pas. Très apprécier quelqu'un peut me guider vers le bon chemin.Je ne trouve pas ma propre application dans le portefeuille de l'IOS partager la liste des laissez-passer

Répondre

1

J'ai trouvé la solution à ce problème. Nous avons juste besoin d'ajouter manuellement tous les dataType supportés dans NSExtensionActivationRule en utilisant 'SUBQUERY'.

Par exemple:

SUBQUERY (
       extensionItems, 
       $extensionItem, 
       SUBQUERY (
       $extensionItem.attachments, 
       $attachment, 
       (
       ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpg" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.vcard" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.apple.pkpass" 
       || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" 

       ) 
       )[email protected] == 1 
       )[email protected] == 1 
      }