-
-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
Description
Context π΅οΈββοΈ
Xcode 14 has introduced a few new frameworks and associated extension product types:
What π±
- The new extensions have a new product type
com.apple.product-type.extensionkit-extensionwhich not currently supported by XcodeProj
FB2930F2284F86D7004FAF29 /* AppIntentsExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = FB2930FB284F86D7004FAF29 /* Build configuration list for PBXNativeTarget "AppIntentsExtension" */;
buildPhases = (
FB2930EF284F86D7004FAF29 /* Sources */,
FB2930F0284F86D7004FAF29 /* Frameworks */,
FB2930F1284F86D7004FAF29 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = AppIntentsExtension;
productName = AppIntentsExtension;
productReference = FB2930F3284F86D7004FAF29 /* AppIntentsExtension.appex */;
productType = "com.apple.product-type.extensionkit-extension";
}; FBE4DE842859B1EC00C6A189 /* BackgroundExt */ = {
isa = PBXNativeTarget;
buildConfigurationList = FBE4DE8E2859B1EC00C6A189 /* Build configuration list for PBXNativeTarget "BackgroundExt" */;
buildPhases = (
FBE4DE812859B1EC00C6A189 /* Sources */,
FBE4DE822859B1EC00C6A189 /* Frameworks */,
FBE4DE832859B1EC00C6A189 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = BackgroundExt;
productName = BackgroundExt;
productReference = FBE4DE852859B1EC00C6A189 /* BackgroundExt.appex */;
productType = "com.apple.product-type.extensionkit-extension";
};Proposal π
- Add a new supported
PBXProductType. extensionKitExtensionthat maps tocom.apple.product-type.extensionkit-extension
Questions β
- Should it be
appIntentsExtensionor something more raw likeextensionKitExtension?
Looking at appExtension, the same product type is used for several extension types (e.g. NotificationsServiceExtension, WidgetKitExtension, SiriKit IntentsExtension, etc...) - as such calling appIntentsExtension may require a breaking change to generalise it the future should new extensions appear that share the same product type π€

