Skip to content

Commit

Permalink
Add watchapp2-container product type.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkoutso committed Jun 29, 2019
1 parent c04c835 commit 8941ed5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

##### Enhancements

* None.
* Add watchapp2-container product type.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#XXX](https://github.com/CocoaPods/Xcodeproj/pull/XXX)

##### Bug Fixes

Expand Down
24 changes: 13 additions & 11 deletions lib/xcodeproj/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ module Constants
:command_line_tool => 'com.apple.product-type.tool',
:watch_app => 'com.apple.product-type.application.watchapp',
:watch2_app => 'com.apple.product-type.application.watchapp2',
:watch2_app_container => 'com.apple.product-type.application.watchapp2-container',
:watch_extension => 'com.apple.product-type.watchkit-extension',
:watch2_extension => 'com.apple.product-type.watchkit2-extension',
:tv_extension => 'com.apple.product-type.tv-app-extension',
Expand All @@ -162,17 +163,18 @@ module Constants
# @return [Hash] The extensions or the various product UTIs.
#
PRODUCT_UTI_EXTENSIONS = {
:application => 'app',
:framework => 'framework',
:dynamic_library => 'dylib',
:static_library => 'a',
:bundle => 'bundle',
:octest_bundle => 'octest',
:unit_test_bundle => 'xctest',
:ui_test_bundle => 'xctest',
:app_extension => 'appex',
:watch2_extension => 'appex',
:watch2_app => 'app',
:application => 'app',
:framework => 'framework',
:dynamic_library => 'dylib',
:static_library => 'a',
:bundle => 'bundle',
:octest_bundle => 'octest',
:unit_test_bundle => 'xctest',
:ui_test_bundle => 'xctest',
:app_extension => 'appex',
:watch2_extension => 'appex',
:watch2_app => 'app',
:watch2_app_container => 'app',
}.freeze

# @return [Hash] The common build settings grouped by platform, and build
Expand Down

0 comments on commit 8941ed5

Please sign in to comment.