@@ -216,6 +216,32 @@ export const TARGET_REGISTRY = {
216216 frameworks : [ "Photos" , "PhotosUI" ] ,
217217 displayName : "Photo Editing" ,
218218 } ,
219+ "quicklook-preview" : {
220+ extensionPointIdentifier : "com.apple.quicklook.preview" ,
221+ needsEmbeddedSwift : true ,
222+ frameworks : [ "QuickLook" ] ,
223+ displayName : "Quick Look Preview" ,
224+ } ,
225+ "spotlight-delegate" : {
226+ extensionPointIdentifier : "com.apple.spotlight.index" ,
227+ frameworks : [ "CoreSpotlight" ] ,
228+ displayName : "CoreSpotlight Delegate" ,
229+ } ,
230+ "virtual-conference" : {
231+ extensionPointIdentifier : "com.apple.calendar.virtualconference" ,
232+ displayName : "Virtual Conference Provider" ,
233+ } ,
234+ "shield-action" : {
235+ extensionPointIdentifier : "com.apple.ManagedSettings.shield-action-service" ,
236+ frameworks : [ "ManagedSettings" ] ,
237+ displayName : "Shield Action" ,
238+ } ,
239+ "shield-config" : {
240+ extensionPointIdentifier :
241+ "com.apple.ManagedSettingsUI.shield-configuration-service" ,
242+ frameworks : [ "ManagedSettings" , "ManagedSettingsUI" ] ,
243+ displayName : "Shield Configuration" ,
244+ } ,
219245} as const satisfies Record < string , TargetDefinition > ;
220246
221247export type ExtensionType = keyof typeof TARGET_REGISTRY ;
@@ -596,6 +622,49 @@ export function getTargetInfoPlistForType(type: ExtensionType) {
596622 } ,
597623 } ,
598624 } ;
625+ case "quicklook-preview" :
626+ return {
627+ NSExtension : {
628+ NSExtensionAttributes : {
629+ QLSupportedContentTypes : [ ] ,
630+ } ,
631+ NSExtensionPrincipalClass :
632+ "$(PRODUCT_MODULE_NAME).PreviewViewController" ,
633+ NSExtensionPointIdentifier,
634+ } ,
635+ } ;
636+ case "spotlight-delegate" :
637+ return {
638+ NSExtension : {
639+ NSExtensionPointIdentifier,
640+ NSExtensionPrincipalClass :
641+ "$(PRODUCT_MODULE_NAME).IndexRequestHandler" ,
642+ } ,
643+ } ;
644+ case "virtual-conference" :
645+ return {
646+ NSExtension : {
647+ NSExtensionPointIdentifier,
648+ NSExtensionPrincipalClass :
649+ "$(PRODUCT_MODULE_NAME).VirtualConferenceProvider" ,
650+ } ,
651+ } ;
652+ case "shield-action" :
653+ return {
654+ NSExtension : {
655+ NSExtensionPointIdentifier,
656+ NSExtensionPrincipalClass :
657+ "$(PRODUCT_MODULE_NAME).ShieldActionExtension" ,
658+ } ,
659+ } ;
660+ case "shield-config" :
661+ return {
662+ NSExtension : {
663+ NSExtensionPointIdentifier,
664+ NSExtensionPrincipalClass :
665+ "$(PRODUCT_MODULE_NAME).ShieldConfigurationExtension" ,
666+ } ,
667+ } ;
599668 default :
600669 // Default: used for widget and bg-download
601670 return {
0 commit comments