@bacons/apple-targets 3.0.6 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/target.d.ts CHANGED
@@ -1,7 +1,260 @@
1
1
  import { PBXNativeTarget, XcodeProject } from "@bacons/xcode";
2
- export type ExtensionType = "widget" | "notification-content" | "notification-service" | "share" | "intent" | "bg-download" | "intent-ui" | "spotlight" | "matter" | "quicklook-thumbnail" | "imessage" | "clip" | "watch" | "location-push" | "credentials-provider" | "account-auth" | "action" | "safari" | "app-intent" | "device-activity-monitor" | "network-packet-tunnel" | "network-app-proxy" | "network-filter-data" | "network-dns-proxy" | "keyboard";
2
+ export interface TargetDefinition {
3
+ /** Apple NSExtensionPointIdentifier, e.g. "com.apple.widgetkit-extension" */
4
+ extensionPointIdentifier?: string;
5
+ /** Xcode product type. Defaults to "com.apple.product-type.app-extension" */
6
+ productType?: string;
7
+ /** Whether to set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES. Default: false */
8
+ needsEmbeddedSwift?: boolean;
9
+ /** System frameworks to link. Default: [] */
10
+ frameworks?: readonly string[];
11
+ /** Whether app groups should sync from main target by default. Default: false */
12
+ appGroupsByDefault?: boolean;
13
+ /** If true, type has no Swift template and is excluded from CLI / e2e tests */
14
+ hasNoTemplate?: boolean;
15
+ /** Display name for the create-target CLI */
16
+ displayName: string;
17
+ /** Short description for the create-target CLI */
18
+ description?: string;
19
+ }
20
+ export declare const TARGET_REGISTRY: {
21
+ readonly widget: {
22
+ readonly extensionPointIdentifier: "com.apple.widgetkit-extension";
23
+ readonly frameworks: readonly ["WidgetKit", "SwiftUI", "ActivityKit", "AppIntents"];
24
+ readonly appGroupsByDefault: true;
25
+ readonly displayName: "Widget";
26
+ readonly description: "Home screen widget";
27
+ };
28
+ readonly "notification-content": {
29
+ readonly extensionPointIdentifier: "com.apple.usernotifications.content-extension";
30
+ readonly frameworks: readonly ["UserNotifications", "UserNotificationsUI"];
31
+ readonly displayName: "Notification Content";
32
+ };
33
+ readonly "notification-service": {
34
+ readonly extensionPointIdentifier: "com.apple.usernotifications.service";
35
+ readonly displayName: "Notification Service";
36
+ };
37
+ readonly share: {
38
+ readonly extensionPointIdentifier: "com.apple.share-services";
39
+ readonly needsEmbeddedSwift: true;
40
+ readonly appGroupsByDefault: true;
41
+ readonly displayName: "Share Extension";
42
+ };
43
+ readonly intent: {
44
+ readonly extensionPointIdentifier: "com.apple.intents-service";
45
+ readonly needsEmbeddedSwift: true;
46
+ readonly frameworks: readonly ["Intents"];
47
+ readonly displayName: "Siri Intent";
48
+ };
49
+ readonly "bg-download": {
50
+ readonly extensionPointIdentifier: "com.apple.background-asset-downloader-extension";
51
+ readonly needsEmbeddedSwift: true;
52
+ readonly appGroupsByDefault: true;
53
+ readonly displayName: "Background Download";
54
+ };
55
+ readonly "intent-ui": {
56
+ readonly extensionPointIdentifier: "com.apple.intents-ui-service";
57
+ readonly needsEmbeddedSwift: true;
58
+ readonly frameworks: readonly ["IntentsUI"];
59
+ readonly displayName: "Siri Intent UI";
60
+ };
61
+ readonly spotlight: {
62
+ readonly extensionPointIdentifier: "com.apple.spotlight.import";
63
+ readonly needsEmbeddedSwift: true;
64
+ readonly displayName: "Spotlight";
65
+ };
66
+ readonly matter: {
67
+ readonly extensionPointIdentifier: "com.apple.matter.support.extension.device-setup";
68
+ readonly needsEmbeddedSwift: true;
69
+ readonly displayName: "Matter";
70
+ };
71
+ readonly "quicklook-thumbnail": {
72
+ readonly extensionPointIdentifier: "com.apple.quicklook.thumbnail";
73
+ readonly needsEmbeddedSwift: true;
74
+ readonly frameworks: readonly ["QuickLookThumbnailing"];
75
+ readonly displayName: "Quicklook Thumbnail";
76
+ };
77
+ readonly imessage: {
78
+ readonly extensionPointIdentifier: "com.apple.message-payload-provider";
79
+ readonly hasNoTemplate: true;
80
+ readonly displayName: "iMessage";
81
+ };
82
+ readonly clip: {
83
+ readonly productType: "com.apple.product-type.application.on-demand-install-capable";
84
+ readonly needsEmbeddedSwift: true;
85
+ readonly appGroupsByDefault: true;
86
+ readonly displayName: "App Clip";
87
+ readonly description: "Instantly open your app without installing";
88
+ };
89
+ readonly watch: {
90
+ readonly productType: "com.apple.product-type.application";
91
+ readonly needsEmbeddedSwift: true;
92
+ readonly displayName: "Watch";
93
+ };
94
+ readonly "location-push": {
95
+ readonly extensionPointIdentifier: "com.apple.location.push.service";
96
+ readonly displayName: "Location Push";
97
+ };
98
+ readonly "credentials-provider": {
99
+ readonly extensionPointIdentifier: "com.apple.authentication-services-credential-provider-ui";
100
+ readonly displayName: "Credentials Provider";
101
+ };
102
+ readonly "account-auth": {
103
+ readonly extensionPointIdentifier: "com.apple.authentication-services-account-authentication-modification-ui";
104
+ readonly displayName: "Account Auth";
105
+ };
106
+ readonly action: {
107
+ readonly extensionPointIdentifier: "com.apple.services";
108
+ readonly displayName: "Action";
109
+ readonly description: "Headless action that appears in share sheets";
110
+ };
111
+ readonly safari: {
112
+ readonly extensionPointIdentifier: "com.apple.Safari.web-extension";
113
+ readonly displayName: "Safari Extension";
114
+ };
115
+ readonly "app-intent": {
116
+ readonly extensionPointIdentifier: "com.apple.appintents-extension";
117
+ readonly productType: "com.apple.product-type.extensionkit-extension";
118
+ readonly frameworks: readonly ["AppIntents"];
119
+ readonly displayName: "App Intent";
120
+ };
121
+ readonly "device-activity-monitor": {
122
+ readonly extensionPointIdentifier: "com.apple.deviceactivity.monitor-extension";
123
+ readonly frameworks: readonly ["DeviceActivity"];
124
+ readonly displayName: "Device Activity Monitor";
125
+ };
126
+ readonly "network-packet-tunnel": {
127
+ readonly extensionPointIdentifier: "com.apple.networkextension.packet-tunnel";
128
+ readonly needsEmbeddedSwift: true;
129
+ readonly frameworks: readonly ["NetworkExtension"];
130
+ readonly displayName: "Network Extension: Packet Tunnel Provider";
131
+ };
132
+ readonly "network-app-proxy": {
133
+ readonly extensionPointIdentifier: "com.apple.networkextension.app-proxy";
134
+ readonly needsEmbeddedSwift: true;
135
+ readonly frameworks: readonly ["NetworkExtension"];
136
+ readonly displayName: "Network Extension: App Proxy";
137
+ };
138
+ readonly "network-filter-data": {
139
+ readonly extensionPointIdentifier: "com.apple.networkextension.filter-data";
140
+ readonly needsEmbeddedSwift: true;
141
+ readonly frameworks: readonly ["NetworkExtension"];
142
+ readonly displayName: "Network Extension: Filter Data";
143
+ };
144
+ readonly "network-dns-proxy": {
145
+ readonly extensionPointIdentifier: "com.apple.networkextension.dns-proxy";
146
+ readonly needsEmbeddedSwift: true;
147
+ readonly frameworks: readonly ["NetworkExtension"];
148
+ readonly displayName: "Network Extension: DNS Proxy";
149
+ };
150
+ readonly keyboard: {
151
+ readonly extensionPointIdentifier: "com.apple.keyboard-service";
152
+ readonly needsEmbeddedSwift: true;
153
+ readonly appGroupsByDefault: true;
154
+ readonly displayName: "Keyboard Extension";
155
+ readonly description: "Custom system keyboard";
156
+ };
157
+ readonly "content-blocker": {
158
+ readonly extensionPointIdentifier: "com.apple.Safari.content-blocker";
159
+ readonly displayName: "Content Blocker";
160
+ readonly description: "Safari content blocker extension";
161
+ };
162
+ readonly "file-provider": {
163
+ readonly extensionPointIdentifier: "com.apple.fileprovider-nonui";
164
+ readonly frameworks: readonly ["UniformTypeIdentifiers"];
165
+ readonly appGroupsByDefault: true;
166
+ readonly displayName: "File Provider";
167
+ };
168
+ readonly "broadcast-upload": {
169
+ readonly extensionPointIdentifier: "com.apple.broadcast-services-upload";
170
+ readonly frameworks: readonly ["ReplayKit"];
171
+ readonly displayName: "Broadcast Upload";
172
+ };
173
+ readonly "call-directory": {
174
+ readonly extensionPointIdentifier: "com.apple.callkit.call-directory";
175
+ readonly frameworks: readonly ["CallKit"];
176
+ readonly displayName: "Call Directory";
177
+ };
178
+ readonly "message-filter": {
179
+ readonly extensionPointIdentifier: "com.apple.identitylookup.message-filter";
180
+ readonly frameworks: readonly ["IdentityLookup"];
181
+ readonly displayName: "Message Filter";
182
+ };
183
+ readonly "file-provider-ui": {
184
+ readonly extensionPointIdentifier: "com.apple.fileprovider-actionsui";
185
+ readonly frameworks: readonly ["FileProviderUI"];
186
+ readonly displayName: "File Provider UI";
187
+ };
188
+ readonly "broadcast-setup-ui": {
189
+ readonly extensionPointIdentifier: "com.apple.broadcast-services-setupui";
190
+ readonly frameworks: readonly ["ReplayKit"];
191
+ readonly displayName: "Broadcast Setup UI";
192
+ };
193
+ readonly "classkit-context": {
194
+ readonly extensionPointIdentifier: "com.apple.classkit.context-provider";
195
+ readonly frameworks: readonly ["ClassKit"];
196
+ readonly displayName: "ClassKit Context Provider";
197
+ };
198
+ readonly "unwanted-communication": {
199
+ readonly extensionPointIdentifier: "com.apple.identitylookup.classification-ui";
200
+ readonly frameworks: readonly ["IdentityLookup", "IdentityLookupUI"];
201
+ readonly displayName: "Unwanted Communication Reporting";
202
+ };
203
+ readonly "photo-editing": {
204
+ readonly extensionPointIdentifier: "com.apple.photo-editing";
205
+ readonly frameworks: readonly ["Photos", "PhotosUI"];
206
+ readonly displayName: "Photo Editing";
207
+ };
208
+ readonly "quicklook-preview": {
209
+ readonly extensionPointIdentifier: "com.apple.quicklook.preview";
210
+ readonly needsEmbeddedSwift: true;
211
+ readonly frameworks: readonly ["QuickLook"];
212
+ readonly displayName: "Quick Look Preview";
213
+ };
214
+ readonly "spotlight-delegate": {
215
+ readonly extensionPointIdentifier: "com.apple.spotlight.index";
216
+ readonly frameworks: readonly ["CoreSpotlight"];
217
+ readonly displayName: "CoreSpotlight Delegate";
218
+ };
219
+ readonly "virtual-conference": {
220
+ readonly extensionPointIdentifier: "com.apple.calendar.virtualconference";
221
+ readonly displayName: "Virtual Conference Provider";
222
+ };
223
+ readonly "shield-action": {
224
+ readonly extensionPointIdentifier: "com.apple.ManagedSettings.shield-action-service";
225
+ readonly frameworks: readonly ["ManagedSettings"];
226
+ readonly displayName: "Shield Action";
227
+ };
228
+ readonly "shield-config": {
229
+ readonly extensionPointIdentifier: "com.apple.ManagedSettingsUI.shield-configuration-service";
230
+ readonly frameworks: readonly ["ManagedSettings", "ManagedSettingsUI"];
231
+ readonly displayName: "Shield Configuration";
232
+ };
233
+ readonly "print-service": {
234
+ readonly extensionPointIdentifier: "com.apple.printing.discovery";
235
+ readonly displayName: "Print Service";
236
+ };
237
+ readonly "smart-card": {
238
+ readonly extensionPointIdentifier: "com.apple.ctk-tokens";
239
+ readonly frameworks: readonly ["CryptoTokenKit"];
240
+ readonly displayName: "Smart Card";
241
+ readonly description: "Persistent token / smart card extension";
242
+ };
243
+ readonly "authentication-services": {
244
+ readonly extensionPointIdentifier: "com.apple.AppSSO.idp-extension";
245
+ readonly frameworks: readonly ["AuthenticationServices"];
246
+ readonly displayName: "Authentication Services";
247
+ readonly description: "Single sign-on extension";
248
+ };
249
+ };
250
+ export type ExtensionType = keyof typeof TARGET_REGISTRY;
251
+ /** Maps Apple extension point identifiers to ExtensionType values. */
3
252
  export declare const KNOWN_EXTENSION_POINT_IDENTIFIERS: Record<string, ExtensionType>;
253
+ /** Whether app groups should sync from the main target by default. */
4
254
  export declare const SHOULD_USE_APP_GROUPS_BY_DEFAULT: Record<ExtensionType, boolean>;
255
+ export declare function productTypeForType(type: ExtensionType): string;
256
+ export declare function needsEmbeddedSwift(type: ExtensionType): boolean;
257
+ export declare function getFrameworksForType(type: ExtensionType): string[];
5
258
  export declare function getTargetInfoPlistForType(type: ExtensionType): {
6
259
  NSExtension?: undefined;
7
260
  EXAppExtensionAttributes?: undefined;
@@ -47,9 +300,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
47
300
  IntentsRestrictedWhileLocked?: undefined;
48
301
  UNNotificationExtensionCategory?: undefined;
49
302
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
303
+ PHSupportedMediaTypes?: undefined;
50
304
  };
51
305
  NSExtensionPointIdentifier: string;
52
306
  NSExtensionPrincipalClass: string;
307
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
308
+ RPBroadcastProcessMode?: undefined;
53
309
  };
54
310
  EXAppExtensionAttributes?: undefined;
55
311
  CFBundleName?: undefined;
@@ -110,6 +366,8 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
110
366
  NSExtensionPointIdentifier: string | undefined;
111
367
  NSExtensionPrincipalClass: string;
112
368
  NSExtensionAttributes?: undefined;
369
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
370
+ RPBroadcastProcessMode?: undefined;
113
371
  };
114
372
  EXAppExtensionAttributes?: undefined;
115
373
  CFBundleName?: undefined;
@@ -150,7 +408,10 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
150
408
  IntentsRestrictedWhileLocked?: undefined;
151
409
  UNNotificationExtensionCategory?: undefined;
152
410
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
411
+ PHSupportedMediaTypes?: undefined;
153
412
  };
413
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
414
+ RPBroadcastProcessMode?: undefined;
154
415
  };
155
416
  EXAppExtensionAttributes?: undefined;
156
417
  CFBundleName?: undefined;
@@ -191,7 +452,10 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
191
452
  IntentsRestrictedWhileLocked?: undefined;
192
453
  UNNotificationExtensionCategory?: undefined;
193
454
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
455
+ PHSupportedMediaTypes?: undefined;
194
456
  };
457
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
458
+ RPBroadcastProcessMode?: undefined;
195
459
  };
196
460
  EXAppExtensionAttributes?: undefined;
197
461
  CFBundleName?: undefined;
@@ -230,9 +494,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
230
494
  IntentsRestrictedWhileLocked?: undefined;
231
495
  UNNotificationExtensionCategory?: undefined;
232
496
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
497
+ PHSupportedMediaTypes?: undefined;
233
498
  };
234
499
  NSExtensionPrincipalClass: string;
235
500
  NSExtensionPointIdentifier: string | undefined;
501
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
502
+ RPBroadcastProcessMode?: undefined;
236
503
  };
237
504
  EXAppExtensionAttributes?: undefined;
238
505
  CFBundleName?: undefined;
@@ -271,9 +538,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
271
538
  IntentsRestrictedWhileLocked?: undefined;
272
539
  UNNotificationExtensionCategory?: undefined;
273
540
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
541
+ PHSupportedMediaTypes?: undefined;
274
542
  };
275
543
  NSExtensionPrincipalClass: string;
276
544
  NSExtensionPointIdentifier: string | undefined;
545
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
546
+ RPBroadcastProcessMode?: undefined;
277
547
  };
278
548
  EXAppExtensionAttributes?: undefined;
279
549
  CFBundleName?: undefined;
@@ -313,9 +583,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
313
583
  IntentsRestrictedWhileLocked?: undefined;
314
584
  UNNotificationExtensionCategory?: undefined;
315
585
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
586
+ PHSupportedMediaTypes?: undefined;
316
587
  };
317
588
  NSExtensionPrincipalClass: string;
318
589
  NSExtensionPointIdentifier: string | undefined;
590
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
591
+ RPBroadcastProcessMode?: undefined;
319
592
  };
320
593
  EXAppExtensionAttributes?: undefined;
321
594
  CFBundleName?: undefined;
@@ -353,9 +626,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
353
626
  IntentsRestrictedWhileLocked?: undefined;
354
627
  UNNotificationExtensionCategory?: undefined;
355
628
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
629
+ PHSupportedMediaTypes?: undefined;
356
630
  };
357
631
  NSExtensionPrincipalClass: string;
358
632
  NSExtensionPointIdentifier: string | undefined;
633
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
634
+ RPBroadcastProcessMode?: undefined;
359
635
  };
360
636
  EXAppExtensionAttributes?: undefined;
361
637
  CFBundleName?: undefined;
@@ -394,9 +670,12 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
394
670
  CSSupportedContentTypes?: undefined;
395
671
  UNNotificationExtensionCategory?: undefined;
396
672
  UNNotificationExtensionInitialContentSizeRatio?: undefined;
673
+ PHSupportedMediaTypes?: undefined;
397
674
  };
398
675
  NSExtensionPrincipalClass: string;
399
676
  NSExtensionPointIdentifier: string | undefined;
677
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
678
+ RPBroadcastProcessMode?: undefined;
400
679
  };
401
680
  EXAppExtensionAttributes?: undefined;
402
681
  CFBundleName?: undefined;
@@ -435,9 +714,144 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
435
714
  CSSupportedContentTypes?: undefined;
436
715
  IntentsSupported?: undefined;
437
716
  IntentsRestrictedWhileLocked?: undefined;
717
+ PHSupportedMediaTypes?: undefined;
718
+ };
719
+ NSExtensionPrincipalClass: string;
720
+ NSExtensionPointIdentifier: string | undefined;
721
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
722
+ RPBroadcastProcessMode?: undefined;
723
+ };
724
+ EXAppExtensionAttributes?: undefined;
725
+ CFBundleName?: undefined;
726
+ CFBundleIdentifier?: undefined;
727
+ CFBundleVersion?: undefined;
728
+ CFBundleExecutable?: undefined;
729
+ CFBundlePackageType?: undefined;
730
+ CFBundleShortVersionString?: undefined;
731
+ UIApplicationSupportsIndirectInputEvents?: undefined;
732
+ NSAppClip?: undefined;
733
+ NSAppTransportSecurity?: undefined;
734
+ UILaunchStoryboardName?: undefined;
735
+ UIUserInterfaceStyle?: undefined;
736
+ UIViewControllerBasedStatusBarAppearance?: undefined;
737
+ CSExtensionLabel?: undefined;
738
+ } | {
739
+ NSExtension: {
740
+ NSExtensionPointIdentifier: string | undefined;
741
+ NSExtensionPrincipalClass: string;
742
+ NSExtensionFileProviderSupportsEnumeration: boolean;
743
+ NSExtensionAttributes?: undefined;
744
+ RPBroadcastProcessMode?: undefined;
745
+ };
746
+ EXAppExtensionAttributes?: undefined;
747
+ CFBundleName?: undefined;
748
+ CFBundleIdentifier?: undefined;
749
+ CFBundleVersion?: undefined;
750
+ CFBundleExecutable?: undefined;
751
+ CFBundlePackageType?: undefined;
752
+ CFBundleShortVersionString?: undefined;
753
+ UIApplicationSupportsIndirectInputEvents?: undefined;
754
+ NSAppClip?: undefined;
755
+ NSAppTransportSecurity?: undefined;
756
+ UILaunchStoryboardName?: undefined;
757
+ UIUserInterfaceStyle?: undefined;
758
+ UIViewControllerBasedStatusBarAppearance?: undefined;
759
+ CSExtensionLabel?: undefined;
760
+ } | {
761
+ NSExtension: {
762
+ NSExtensionPointIdentifier: string | undefined;
763
+ NSExtensionPrincipalClass: string;
764
+ RPBroadcastProcessMode: string;
765
+ NSExtensionAttributes?: undefined;
766
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
767
+ };
768
+ EXAppExtensionAttributes?: undefined;
769
+ CFBundleName?: undefined;
770
+ CFBundleIdentifier?: undefined;
771
+ CFBundleVersion?: undefined;
772
+ CFBundleExecutable?: undefined;
773
+ CFBundlePackageType?: undefined;
774
+ CFBundleShortVersionString?: undefined;
775
+ UIApplicationSupportsIndirectInputEvents?: undefined;
776
+ NSAppClip?: undefined;
777
+ NSAppTransportSecurity?: undefined;
778
+ UILaunchStoryboardName?: undefined;
779
+ UIUserInterfaceStyle?: undefined;
780
+ UIViewControllerBasedStatusBarAppearance?: undefined;
781
+ CSExtensionLabel?: undefined;
782
+ } | {
783
+ NSExtension: {
784
+ NSExtensionPointIdentifier: string | undefined;
785
+ NSExtensionPrincipalClass: string;
786
+ NSExtensionAttributes: {
787
+ PHSupportedMediaTypes: string[];
788
+ NSExtensionActivationRule?: undefined;
789
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
790
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
791
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
792
+ NSExtensionServiceFinderPreviewIconName?: undefined;
793
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
794
+ NSExtensionServiceTouchBarIconName?: undefined;
795
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
796
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
797
+ RequestsOpenAccess?: undefined;
798
+ IsASCIICapable?: undefined;
799
+ PrefersRightToLeft?: undefined;
800
+ PrimaryLanguage?: undefined;
801
+ QLSupportedContentTypes?: undefined;
802
+ QLThumbnailMinimumDimension?: undefined;
803
+ CSSupportedContentTypes?: undefined;
804
+ IntentsSupported?: undefined;
805
+ IntentsRestrictedWhileLocked?: undefined;
806
+ UNNotificationExtensionCategory?: undefined;
807
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
808
+ };
809
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
810
+ RPBroadcastProcessMode?: undefined;
811
+ };
812
+ EXAppExtensionAttributes?: undefined;
813
+ CFBundleName?: undefined;
814
+ CFBundleIdentifier?: undefined;
815
+ CFBundleVersion?: undefined;
816
+ CFBundleExecutable?: undefined;
817
+ CFBundlePackageType?: undefined;
818
+ CFBundleShortVersionString?: undefined;
819
+ UIApplicationSupportsIndirectInputEvents?: undefined;
820
+ NSAppClip?: undefined;
821
+ NSAppTransportSecurity?: undefined;
822
+ UILaunchStoryboardName?: undefined;
823
+ UIUserInterfaceStyle?: undefined;
824
+ UIViewControllerBasedStatusBarAppearance?: undefined;
825
+ CSExtensionLabel?: undefined;
826
+ } | {
827
+ NSExtension: {
828
+ NSExtensionAttributes: {
829
+ QLSupportedContentTypes: never[];
830
+ NSExtensionActivationRule?: undefined;
831
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
832
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
833
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
834
+ NSExtensionServiceFinderPreviewIconName?: undefined;
835
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
836
+ NSExtensionServiceTouchBarIconName?: undefined;
837
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
838
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
839
+ RequestsOpenAccess?: undefined;
840
+ IsASCIICapable?: undefined;
841
+ PrefersRightToLeft?: undefined;
842
+ PrimaryLanguage?: undefined;
843
+ QLThumbnailMinimumDimension?: undefined;
844
+ CSSupportedContentTypes?: undefined;
845
+ IntentsSupported?: undefined;
846
+ IntentsRestrictedWhileLocked?: undefined;
847
+ UNNotificationExtensionCategory?: undefined;
848
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
849
+ PHSupportedMediaTypes?: undefined;
438
850
  };
439
851
  NSExtensionPrincipalClass: string;
440
852
  NSExtensionPointIdentifier: string | undefined;
853
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
854
+ RPBroadcastProcessMode?: undefined;
441
855
  };
442
856
  EXAppExtensionAttributes?: undefined;
443
857
  CFBundleName?: undefined;
@@ -458,6 +872,8 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
458
872
  NSExtensionPointIdentifier: string | undefined;
459
873
  NSExtensionAttributes?: undefined;
460
874
  NSExtensionPrincipalClass?: undefined;
875
+ NSExtensionFileProviderSupportsEnumeration?: undefined;
876
+ RPBroadcastProcessMode?: undefined;
461
877
  };
462
878
  EXAppExtensionAttributes?: undefined;
463
879
  CFBundleName?: undefined;
@@ -474,9 +890,6 @@ export declare function getTargetInfoPlistForType(type: ExtensionType): {
474
890
  UIViewControllerBasedStatusBarAppearance?: undefined;
475
891
  CSExtensionLabel?: undefined;
476
892
  };
477
- export declare function productTypeForType(type: ExtensionType): "com.apple.product-type.application.on-demand-install-capable" | "com.apple.product-type.application" | "com.apple.product-type.extensionkit-extension" | "com.apple.product-type.app-extension";
478
- export declare function needsEmbeddedSwift(type: ExtensionType): boolean;
479
- export declare function getFrameworksForType(type: ExtensionType): string[];
480
893
  export declare function isNativeTargetOfType(target: PBXNativeTarget, type: ExtensionType): boolean;
481
894
  export declare function getMainAppTarget(project: XcodeProject): PBXNativeTarget;
482
895
  export declare function getAuxiliaryTargets(project: XcodeProject): PBXNativeTarget[];