Add .extensionKitExtension as the new PBXProductType#691
Conversation
|
@all-contributors add @mtj0928 for code |
|
I've put up a pull request to add @mtj0928! 🎉 |
|
@kwridan I actually considered the name at first , but I also felt it was a bit odd. |
|
I vote to rename as |
There was a problem hiding this comment.
Thinking through it some more, the concern I had was around the possibility of there being extensionKit<SomethingElse> by the structure of the current product ID.
That said, we can start out with .extensionKit which is less odd, should any future products be added that extend this (e.g. .extensionKitHost) we could deprecate .extensionKit and re-introduce the specialised .extensionKitExtension.
So let's proceed with .extensionKit.
|
cc: @tuist/core - any preference to the naming convention - I could see either option working, consistency vs oddness 😅 |
|
Slightly in favor of |
|
I'm ok with merging this but I am also leaning to use the more consistent |
|
@mtj0928 can we trouble you to rename to The points raised by @fortmarek are valid, while the name is odd, it is consistent with other product types and the underlying Xcode types. |
kwridan
left a comment
There was a problem hiding this comment.
For visibility marking as request changes. thanks again!
Codecov Report
@@ Coverage Diff @@
## main #691 +/- ##
==========================================
- Coverage 84.93% 84.92% -0.01%
==========================================
Files 157 157
Lines 9098 9101 +3
==========================================
+ Hits 7727 7729 +2
- Misses 1371 1372 +1
Continue to review full report at Codecov.
|
|
Thank you for your discussion, I renamed the new case and pushed the changes😄 |
.extensionKit as the new PBXProductType.extensionKitExtension as the new PBXProductType
|
Hello, @kwridan, when is it released as new version? |
|
Let's wait till #694 is merged then we can do a release with a few of the Xcode 14 related items within it. |
Resolves: #687
Short description 📝
From Xcode14 beta 1,
com.apple.product-type.extensionkit-extensionwas introduced as the new productType.The new productType is used for a new app extension like AppIntents Extension.
Solution 📦
Added
.extensionKitExtensionas the new case ofPBXProductTypein this PR, to support the new productType.Implementation 👩💻👨💻
.extensionKitExtensionas the new case ofPBXProductTypefileExtensionof.extensionKitExtension.extensionKitExtension