From 8941ed54d356d2638f7ed72e63d2186b58fcad2d 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..385dadb3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 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