From 8d3dcd832a43dbe4169c0e8473c885e26e3d3ca4 Mon Sep 17 00:00:00 2001 From: Dimitris Koutsogiorgas Date: Sat, 29 Jun 2019 09:19:47 -0400 Subject: [PATCH] Add watchapp2-container product type. --- CHANGELOG.md | 4 +++- lib/xcodeproj/constants.rb | 24 +++++++++++++----------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bc5c9e91..8da7081a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ ##### Enhancements -* None. +* Add watchapp2-container product type. + [Dimitris Koutsogiorgas](https://github.com/dnkoutso) + [#690](https://github.com/CocoaPods/Xcodeproj/pull/690) ##### Bug Fixes diff --git a/lib/xcodeproj/constants.rb b/lib/xcodeproj/constants.rb index 5f174434a..c4629e2b8 100644 --- a/lib/xcodeproj/constants.rb +++ b/lib/xcodeproj/constants.rb @@ -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', @@ -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