@bacons/apple-targets 3.0.4 → 3.0.6

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.
Files changed (30) hide show
  1. package/README.md +10 -3
  2. package/build/colorset/{withIosColorset.js → with-ios-colorset.js} +2 -2
  3. package/build/config-plugin.js +9 -10
  4. package/build/config.d.ts +2 -2
  5. package/build/{withXcodeChanges.d.ts → configuration-list.d.ts} +4 -2
  6. package/build/configuration-list.js +656 -0
  7. package/build/target.d.ts +473 -2
  8. package/build/target.js +281 -239
  9. package/build/util.d.ts +18 -0
  10. package/build/util.js +48 -0
  11. package/build/{withXcparse.js → with-bacons-xcode.js} +5 -2
  12. package/build/{withEasCredentials.js → with-eas-credentials.js} +2 -2
  13. package/build/{withWidget.js → with-widget.js} +25 -65
  14. package/build/with-xcode-changes.d.ts +3 -0
  15. package/build/with-xcode-changes.js +397 -0
  16. package/package.json +7 -2
  17. package/build/template/XCBuildConfiguration.json +0 -759
  18. package/build/withXcodeChanges.js +0 -1034
  19. /package/build/colorset/{customColorFromCSS.d.ts → custom-color-from-css.d.ts} +0 -0
  20. /package/build/colorset/{customColorFromCSS.js → custom-color-from-css.js} +0 -0
  21. /package/build/colorset/{withIosColorset.d.ts → with-ios-colorset.d.ts} +0 -0
  22. /package/build/icon/{withImageAsset.d.ts → with-image-asset.d.ts} +0 -0
  23. /package/build/icon/{withImageAsset.js → with-image-asset.js} +0 -0
  24. /package/build/icon/{withIosIcon.d.ts → with-ios-icon.d.ts} +0 -0
  25. /package/build/icon/{withIosIcon.js → with-ios-icon.js} +0 -0
  26. /package/build/{withXcparse.d.ts → with-bacons-xcode.d.ts} +0 -0
  27. /package/build/{withEasCredentials.d.ts → with-eas-credentials.d.ts} +0 -0
  28. /package/build/{withPodTargetExtension.d.ts → with-pod-target-extension.d.ts} +0 -0
  29. /package/build/{withPodTargetExtension.js → with-pod-target-extension.js} +0 -0
  30. /package/build/{withWidget.d.ts → with-widget.d.ts} +0 -0
package/build/target.d.ts CHANGED
@@ -1,8 +1,479 @@
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";
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";
3
3
  export declare const KNOWN_EXTENSION_POINT_IDENTIFIERS: Record<string, ExtensionType>;
4
4
  export declare const SHOULD_USE_APP_GROUPS_BY_DEFAULT: Record<ExtensionType, boolean>;
5
- export declare function getTargetInfoPlistForType(type: ExtensionType): string;
5
+ export declare function getTargetInfoPlistForType(type: ExtensionType): {
6
+ NSExtension?: undefined;
7
+ EXAppExtensionAttributes?: undefined;
8
+ CFBundleName?: undefined;
9
+ CFBundleIdentifier?: undefined;
10
+ CFBundleVersion?: undefined;
11
+ CFBundleExecutable?: undefined;
12
+ CFBundlePackageType?: undefined;
13
+ CFBundleShortVersionString?: undefined;
14
+ UIApplicationSupportsIndirectInputEvents?: undefined;
15
+ NSAppClip?: undefined;
16
+ NSAppTransportSecurity?: undefined;
17
+ UILaunchStoryboardName?: undefined;
18
+ UIUserInterfaceStyle?: undefined;
19
+ UIViewControllerBasedStatusBarAppearance?: undefined;
20
+ CSExtensionLabel?: undefined;
21
+ } | {
22
+ NSExtension: {
23
+ NSExtensionAttributes: {
24
+ NSExtensionActivationRule: {
25
+ NSExtensionActivationSupportsFileWithMaxCount: number;
26
+ NSExtensionActivationSupportsImageWithMaxCount: number;
27
+ NSExtensionActivationSupportsMovieWithMaxCount: number;
28
+ NSExtensionActivationSupportsText: boolean;
29
+ NSExtensionActivationSupportsWebURLWithMaxCount: number;
30
+ };
31
+ NSExtensionJavaScriptPreprocessingFile: string;
32
+ NSExtensionServiceAllowsFinderPreviewItem: boolean;
33
+ NSExtensionServiceAllowsTouchBarItem: boolean;
34
+ NSExtensionServiceFinderPreviewIconName: string;
35
+ NSExtensionServiceTouchBarBezelColorName: string;
36
+ NSExtensionServiceTouchBarIconName: string;
37
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
38
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
39
+ RequestsOpenAccess?: undefined;
40
+ IsASCIICapable?: undefined;
41
+ PrefersRightToLeft?: undefined;
42
+ PrimaryLanguage?: undefined;
43
+ QLSupportedContentTypes?: undefined;
44
+ QLThumbnailMinimumDimension?: undefined;
45
+ CSSupportedContentTypes?: undefined;
46
+ IntentsSupported?: undefined;
47
+ IntentsRestrictedWhileLocked?: undefined;
48
+ UNNotificationExtensionCategory?: undefined;
49
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
50
+ };
51
+ NSExtensionPointIdentifier: string;
52
+ NSExtensionPrincipalClass: string;
53
+ };
54
+ EXAppExtensionAttributes?: undefined;
55
+ CFBundleName?: undefined;
56
+ CFBundleIdentifier?: undefined;
57
+ CFBundleVersion?: undefined;
58
+ CFBundleExecutable?: undefined;
59
+ CFBundlePackageType?: undefined;
60
+ CFBundleShortVersionString?: undefined;
61
+ UIApplicationSupportsIndirectInputEvents?: undefined;
62
+ NSAppClip?: undefined;
63
+ NSAppTransportSecurity?: undefined;
64
+ UILaunchStoryboardName?: undefined;
65
+ UIUserInterfaceStyle?: undefined;
66
+ UIViewControllerBasedStatusBarAppearance?: undefined;
67
+ CSExtensionLabel?: undefined;
68
+ } | {
69
+ EXAppExtensionAttributes: {
70
+ EXExtensionPointIdentifier: string;
71
+ };
72
+ NSExtension?: undefined;
73
+ CFBundleName?: undefined;
74
+ CFBundleIdentifier?: undefined;
75
+ CFBundleVersion?: undefined;
76
+ CFBundleExecutable?: undefined;
77
+ CFBundlePackageType?: undefined;
78
+ CFBundleShortVersionString?: undefined;
79
+ UIApplicationSupportsIndirectInputEvents?: undefined;
80
+ NSAppClip?: undefined;
81
+ NSAppTransportSecurity?: undefined;
82
+ UILaunchStoryboardName?: undefined;
83
+ UIUserInterfaceStyle?: undefined;
84
+ UIViewControllerBasedStatusBarAppearance?: undefined;
85
+ CSExtensionLabel?: undefined;
86
+ } | {
87
+ CFBundleName: string;
88
+ CFBundleIdentifier: string;
89
+ CFBundleVersion: string;
90
+ CFBundleExecutable: string;
91
+ CFBundlePackageType: string;
92
+ CFBundleShortVersionString: string;
93
+ UIApplicationSupportsIndirectInputEvents: boolean;
94
+ NSAppClip: {
95
+ NSAppClipRequestEphemeralUserNotification: boolean;
96
+ NSAppClipRequestLocationConfirmation: boolean;
97
+ };
98
+ NSAppTransportSecurity: {
99
+ NSAllowsArbitraryLoads: boolean;
100
+ NSAllowsLocalNetworking: boolean;
101
+ };
102
+ UILaunchStoryboardName: string;
103
+ UIUserInterfaceStyle: string;
104
+ UIViewControllerBasedStatusBarAppearance: boolean;
105
+ NSExtension?: undefined;
106
+ EXAppExtensionAttributes?: undefined;
107
+ CSExtensionLabel?: undefined;
108
+ } | {
109
+ NSExtension: {
110
+ NSExtensionPointIdentifier: string | undefined;
111
+ NSExtensionPrincipalClass: string;
112
+ NSExtensionAttributes?: undefined;
113
+ };
114
+ EXAppExtensionAttributes?: undefined;
115
+ CFBundleName?: undefined;
116
+ CFBundleIdentifier?: undefined;
117
+ CFBundleVersion?: undefined;
118
+ CFBundleExecutable?: undefined;
119
+ CFBundlePackageType?: undefined;
120
+ CFBundleShortVersionString?: undefined;
121
+ UIApplicationSupportsIndirectInputEvents?: undefined;
122
+ NSAppClip?: undefined;
123
+ NSAppTransportSecurity?: undefined;
124
+ UILaunchStoryboardName?: undefined;
125
+ UIUserInterfaceStyle?: undefined;
126
+ UIViewControllerBasedStatusBarAppearance?: undefined;
127
+ CSExtensionLabel?: undefined;
128
+ } | {
129
+ NSExtension: {
130
+ NSExtensionPointIdentifier: string | undefined;
131
+ NSExtensionPrincipalClass: string;
132
+ NSExtensionAttributes: {
133
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange: boolean;
134
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple: boolean;
135
+ NSExtensionActivationRule?: undefined;
136
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
137
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
138
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
139
+ NSExtensionServiceFinderPreviewIconName?: undefined;
140
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
141
+ NSExtensionServiceTouchBarIconName?: undefined;
142
+ RequestsOpenAccess?: undefined;
143
+ IsASCIICapable?: undefined;
144
+ PrefersRightToLeft?: undefined;
145
+ PrimaryLanguage?: undefined;
146
+ QLSupportedContentTypes?: undefined;
147
+ QLThumbnailMinimumDimension?: undefined;
148
+ CSSupportedContentTypes?: undefined;
149
+ IntentsSupported?: undefined;
150
+ IntentsRestrictedWhileLocked?: undefined;
151
+ UNNotificationExtensionCategory?: undefined;
152
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
153
+ };
154
+ };
155
+ EXAppExtensionAttributes?: undefined;
156
+ CFBundleName?: undefined;
157
+ CFBundleIdentifier?: undefined;
158
+ CFBundleVersion?: undefined;
159
+ CFBundleExecutable?: undefined;
160
+ CFBundlePackageType?: undefined;
161
+ CFBundleShortVersionString?: undefined;
162
+ UIApplicationSupportsIndirectInputEvents?: undefined;
163
+ NSAppClip?: undefined;
164
+ NSAppTransportSecurity?: undefined;
165
+ UILaunchStoryboardName?: undefined;
166
+ UIUserInterfaceStyle?: undefined;
167
+ UIViewControllerBasedStatusBarAppearance?: undefined;
168
+ CSExtensionLabel?: undefined;
169
+ } | {
170
+ NSExtension: {
171
+ NSExtensionPointIdentifier: string | undefined;
172
+ NSExtensionPrincipalClass: string;
173
+ NSExtensionAttributes: {
174
+ RequestsOpenAccess: boolean;
175
+ IsASCIICapable: boolean;
176
+ PrefersRightToLeft: boolean;
177
+ PrimaryLanguage: string;
178
+ NSExtensionActivationRule?: undefined;
179
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
180
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
181
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
182
+ NSExtensionServiceFinderPreviewIconName?: undefined;
183
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
184
+ NSExtensionServiceTouchBarIconName?: undefined;
185
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
186
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
187
+ QLSupportedContentTypes?: undefined;
188
+ QLThumbnailMinimumDimension?: undefined;
189
+ CSSupportedContentTypes?: undefined;
190
+ IntentsSupported?: undefined;
191
+ IntentsRestrictedWhileLocked?: undefined;
192
+ UNNotificationExtensionCategory?: undefined;
193
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
194
+ };
195
+ };
196
+ EXAppExtensionAttributes?: undefined;
197
+ CFBundleName?: undefined;
198
+ CFBundleIdentifier?: undefined;
199
+ CFBundleVersion?: undefined;
200
+ CFBundleExecutable?: undefined;
201
+ CFBundlePackageType?: undefined;
202
+ CFBundleShortVersionString?: undefined;
203
+ UIApplicationSupportsIndirectInputEvents?: undefined;
204
+ NSAppClip?: undefined;
205
+ NSAppTransportSecurity?: undefined;
206
+ UILaunchStoryboardName?: undefined;
207
+ UIUserInterfaceStyle?: undefined;
208
+ UIViewControllerBasedStatusBarAppearance?: undefined;
209
+ CSExtensionLabel?: undefined;
210
+ } | {
211
+ NSExtension: {
212
+ NSExtensionAttributes: {
213
+ NSExtensionActivationRule: string;
214
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
215
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
216
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
217
+ NSExtensionServiceFinderPreviewIconName?: undefined;
218
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
219
+ NSExtensionServiceTouchBarIconName?: undefined;
220
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
221
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
222
+ RequestsOpenAccess?: undefined;
223
+ IsASCIICapable?: undefined;
224
+ PrefersRightToLeft?: undefined;
225
+ PrimaryLanguage?: undefined;
226
+ QLSupportedContentTypes?: undefined;
227
+ QLThumbnailMinimumDimension?: undefined;
228
+ CSSupportedContentTypes?: undefined;
229
+ IntentsSupported?: undefined;
230
+ IntentsRestrictedWhileLocked?: undefined;
231
+ UNNotificationExtensionCategory?: undefined;
232
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
233
+ };
234
+ NSExtensionPrincipalClass: string;
235
+ NSExtensionPointIdentifier: string | undefined;
236
+ };
237
+ EXAppExtensionAttributes?: undefined;
238
+ CFBundleName?: undefined;
239
+ CFBundleIdentifier?: undefined;
240
+ CFBundleVersion?: undefined;
241
+ CFBundleExecutable?: undefined;
242
+ CFBundlePackageType?: undefined;
243
+ CFBundleShortVersionString?: undefined;
244
+ UIApplicationSupportsIndirectInputEvents?: undefined;
245
+ NSAppClip?: undefined;
246
+ NSAppTransportSecurity?: undefined;
247
+ UILaunchStoryboardName?: undefined;
248
+ UIUserInterfaceStyle?: undefined;
249
+ UIViewControllerBasedStatusBarAppearance?: undefined;
250
+ CSExtensionLabel?: undefined;
251
+ } | {
252
+ NSExtension: {
253
+ NSExtensionAttributes: {
254
+ QLSupportedContentTypes: never[];
255
+ QLThumbnailMinimumDimension: number;
256
+ NSExtensionActivationRule?: undefined;
257
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
258
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
259
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
260
+ NSExtensionServiceFinderPreviewIconName?: undefined;
261
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
262
+ NSExtensionServiceTouchBarIconName?: undefined;
263
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
264
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
265
+ RequestsOpenAccess?: undefined;
266
+ IsASCIICapable?: undefined;
267
+ PrefersRightToLeft?: undefined;
268
+ PrimaryLanguage?: undefined;
269
+ CSSupportedContentTypes?: undefined;
270
+ IntentsSupported?: undefined;
271
+ IntentsRestrictedWhileLocked?: undefined;
272
+ UNNotificationExtensionCategory?: undefined;
273
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
274
+ };
275
+ NSExtensionPrincipalClass: string;
276
+ NSExtensionPointIdentifier: string | undefined;
277
+ };
278
+ EXAppExtensionAttributes?: undefined;
279
+ CFBundleName?: undefined;
280
+ CFBundleIdentifier?: undefined;
281
+ CFBundleVersion?: undefined;
282
+ CFBundleExecutable?: undefined;
283
+ CFBundlePackageType?: undefined;
284
+ CFBundleShortVersionString?: undefined;
285
+ UIApplicationSupportsIndirectInputEvents?: undefined;
286
+ NSAppClip?: undefined;
287
+ NSAppTransportSecurity?: undefined;
288
+ UILaunchStoryboardName?: undefined;
289
+ UIUserInterfaceStyle?: undefined;
290
+ UIViewControllerBasedStatusBarAppearance?: undefined;
291
+ CSExtensionLabel?: undefined;
292
+ } | {
293
+ CSExtensionLabel: string;
294
+ NSExtension: {
295
+ NSExtensionAttributes: {
296
+ CSSupportedContentTypes: string[];
297
+ NSExtensionActivationRule?: undefined;
298
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
299
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
300
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
301
+ NSExtensionServiceFinderPreviewIconName?: undefined;
302
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
303
+ NSExtensionServiceTouchBarIconName?: undefined;
304
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
305
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
306
+ RequestsOpenAccess?: undefined;
307
+ IsASCIICapable?: undefined;
308
+ PrefersRightToLeft?: undefined;
309
+ PrimaryLanguage?: undefined;
310
+ QLSupportedContentTypes?: undefined;
311
+ QLThumbnailMinimumDimension?: undefined;
312
+ IntentsSupported?: undefined;
313
+ IntentsRestrictedWhileLocked?: undefined;
314
+ UNNotificationExtensionCategory?: undefined;
315
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
316
+ };
317
+ NSExtensionPrincipalClass: string;
318
+ NSExtensionPointIdentifier: string | undefined;
319
+ };
320
+ EXAppExtensionAttributes?: undefined;
321
+ CFBundleName?: undefined;
322
+ CFBundleIdentifier?: undefined;
323
+ CFBundleVersion?: undefined;
324
+ CFBundleExecutable?: undefined;
325
+ CFBundlePackageType?: undefined;
326
+ CFBundleShortVersionString?: undefined;
327
+ UIApplicationSupportsIndirectInputEvents?: undefined;
328
+ NSAppClip?: undefined;
329
+ NSAppTransportSecurity?: undefined;
330
+ UILaunchStoryboardName?: undefined;
331
+ UIUserInterfaceStyle?: undefined;
332
+ UIViewControllerBasedStatusBarAppearance?: undefined;
333
+ } | {
334
+ NSExtension: {
335
+ NSExtensionAttributes: {
336
+ IntentsSupported: string[];
337
+ NSExtensionActivationRule?: undefined;
338
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
339
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
340
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
341
+ NSExtensionServiceFinderPreviewIconName?: undefined;
342
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
343
+ NSExtensionServiceTouchBarIconName?: undefined;
344
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
345
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
346
+ RequestsOpenAccess?: undefined;
347
+ IsASCIICapable?: undefined;
348
+ PrefersRightToLeft?: undefined;
349
+ PrimaryLanguage?: undefined;
350
+ QLSupportedContentTypes?: undefined;
351
+ QLThumbnailMinimumDimension?: undefined;
352
+ CSSupportedContentTypes?: undefined;
353
+ IntentsRestrictedWhileLocked?: undefined;
354
+ UNNotificationExtensionCategory?: undefined;
355
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
356
+ };
357
+ NSExtensionPrincipalClass: string;
358
+ NSExtensionPointIdentifier: string | undefined;
359
+ };
360
+ EXAppExtensionAttributes?: undefined;
361
+ CFBundleName?: undefined;
362
+ CFBundleIdentifier?: undefined;
363
+ CFBundleVersion?: undefined;
364
+ CFBundleExecutable?: undefined;
365
+ CFBundlePackageType?: undefined;
366
+ CFBundleShortVersionString?: undefined;
367
+ UIApplicationSupportsIndirectInputEvents?: undefined;
368
+ NSAppClip?: undefined;
369
+ NSAppTransportSecurity?: undefined;
370
+ UILaunchStoryboardName?: undefined;
371
+ UIUserInterfaceStyle?: undefined;
372
+ UIViewControllerBasedStatusBarAppearance?: undefined;
373
+ CSExtensionLabel?: undefined;
374
+ } | {
375
+ NSExtension: {
376
+ NSExtensionAttributes: {
377
+ IntentsRestrictedWhileLocked: never[];
378
+ IntentsSupported: string[];
379
+ NSExtensionActivationRule?: undefined;
380
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
381
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
382
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
383
+ NSExtensionServiceFinderPreviewIconName?: undefined;
384
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
385
+ NSExtensionServiceTouchBarIconName?: undefined;
386
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
387
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
388
+ RequestsOpenAccess?: undefined;
389
+ IsASCIICapable?: undefined;
390
+ PrefersRightToLeft?: undefined;
391
+ PrimaryLanguage?: undefined;
392
+ QLSupportedContentTypes?: undefined;
393
+ QLThumbnailMinimumDimension?: undefined;
394
+ CSSupportedContentTypes?: undefined;
395
+ UNNotificationExtensionCategory?: undefined;
396
+ UNNotificationExtensionInitialContentSizeRatio?: undefined;
397
+ };
398
+ NSExtensionPrincipalClass: string;
399
+ NSExtensionPointIdentifier: string | undefined;
400
+ };
401
+ EXAppExtensionAttributes?: undefined;
402
+ CFBundleName?: undefined;
403
+ CFBundleIdentifier?: undefined;
404
+ CFBundleVersion?: undefined;
405
+ CFBundleExecutable?: undefined;
406
+ CFBundlePackageType?: undefined;
407
+ CFBundleShortVersionString?: undefined;
408
+ UIApplicationSupportsIndirectInputEvents?: undefined;
409
+ NSAppClip?: undefined;
410
+ NSAppTransportSecurity?: undefined;
411
+ UILaunchStoryboardName?: undefined;
412
+ UIUserInterfaceStyle?: undefined;
413
+ UIViewControllerBasedStatusBarAppearance?: undefined;
414
+ CSExtensionLabel?: undefined;
415
+ } | {
416
+ NSExtension: {
417
+ NSExtensionAttributes: {
418
+ UNNotificationExtensionCategory: string;
419
+ UNNotificationExtensionInitialContentSizeRatio: number;
420
+ NSExtensionActivationRule?: undefined;
421
+ NSExtensionJavaScriptPreprocessingFile?: undefined;
422
+ NSExtensionServiceAllowsFinderPreviewItem?: undefined;
423
+ NSExtensionServiceAllowsTouchBarItem?: undefined;
424
+ NSExtensionServiceFinderPreviewIconName?: undefined;
425
+ NSExtensionServiceTouchBarBezelColorName?: undefined;
426
+ NSExtensionServiceTouchBarIconName?: undefined;
427
+ ASAccountAuthenticationModificationSupportsStrongPasswordChange?: undefined;
428
+ ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple?: undefined;
429
+ RequestsOpenAccess?: undefined;
430
+ IsASCIICapable?: undefined;
431
+ PrefersRightToLeft?: undefined;
432
+ PrimaryLanguage?: undefined;
433
+ QLSupportedContentTypes?: undefined;
434
+ QLThumbnailMinimumDimension?: undefined;
435
+ CSSupportedContentTypes?: undefined;
436
+ IntentsSupported?: undefined;
437
+ IntentsRestrictedWhileLocked?: undefined;
438
+ };
439
+ NSExtensionPrincipalClass: string;
440
+ NSExtensionPointIdentifier: string | undefined;
441
+ };
442
+ EXAppExtensionAttributes?: undefined;
443
+ CFBundleName?: undefined;
444
+ CFBundleIdentifier?: undefined;
445
+ CFBundleVersion?: undefined;
446
+ CFBundleExecutable?: undefined;
447
+ CFBundlePackageType?: undefined;
448
+ CFBundleShortVersionString?: undefined;
449
+ UIApplicationSupportsIndirectInputEvents?: undefined;
450
+ NSAppClip?: undefined;
451
+ NSAppTransportSecurity?: undefined;
452
+ UILaunchStoryboardName?: undefined;
453
+ UIUserInterfaceStyle?: undefined;
454
+ UIViewControllerBasedStatusBarAppearance?: undefined;
455
+ CSExtensionLabel?: undefined;
456
+ } | {
457
+ NSExtension: {
458
+ NSExtensionPointIdentifier: string | undefined;
459
+ NSExtensionAttributes?: undefined;
460
+ NSExtensionPrincipalClass?: undefined;
461
+ };
462
+ EXAppExtensionAttributes?: undefined;
463
+ CFBundleName?: undefined;
464
+ CFBundleIdentifier?: undefined;
465
+ CFBundleVersion?: undefined;
466
+ CFBundleExecutable?: undefined;
467
+ CFBundlePackageType?: undefined;
468
+ CFBundleShortVersionString?: undefined;
469
+ UIApplicationSupportsIndirectInputEvents?: undefined;
470
+ NSAppClip?: undefined;
471
+ NSAppTransportSecurity?: undefined;
472
+ UILaunchStoryboardName?: undefined;
473
+ UIUserInterfaceStyle?: undefined;
474
+ UIViewControllerBasedStatusBarAppearance?: undefined;
475
+ CSExtensionLabel?: undefined;
476
+ };
6
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";
7
478
  export declare function needsEmbeddedSwift(type: ExtensionType): boolean;
8
479
  export declare function getFrameworksForType(type: ExtensionType): string[];