Skip to content

Commit f403d91

Browse files
feat: Share extension predicate (#91)
2 parents d15f85d + 8513166 commit f403d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Project.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ let project = Project(
167167
"NSExtensionPointIdentifier": "com.apple.share-services",
168168
"NSExtensionPrincipalClass": "$(PRODUCT_MODULE_NAME).ShareViewController",
169169
"NSExtensionAttributes": [
170-
"NSExtensionActivationRule": "TRUEPREDICATE"
170+
"NSExtensionActivationRule": "SUBQUERY (extensionItems, $extensionItem, SUBQUERY ($extensionItem.attachments, $attachment, (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO \"public.data\")).@count == $extensionItem.attachments.@count ).@count > 0"
171171
]
172172
]
173173
]),

0 commit comments

Comments
 (0)