From ae2b96deac60203ba53b0901119b4b10b1f39d0c Mon Sep 17 00:00:00 2001 From: Alex Taffe Date: Tue, 9 Apr 2024 14:11:40 -0400 Subject: [PATCH] Update platform arguments to specify new platforms --- lib/xcodeproj/project/project_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/xcodeproj/project/project_helper.rb b/lib/xcodeproj/project/project_helper.rb index 8a284171..7e6731f0 100644 --- a/lib/xcodeproj/project/project_helper.rb +++ b/lib/xcodeproj/project/project_helper.rb @@ -27,7 +27,7 @@ module ProjectHelper # the name of the target product. # # @param [Symbol] platform - # the platform of the target. Can be `:ios` or `:osx`. + # the platform of the target. Can be `:ios`, `:osx`, `:tvos`, `:visionos`, or `:watchos`. # # @param [String] deployment_target # the deployment target for the platform. @@ -80,7 +80,7 @@ def self.new_target(project, type, name, platform, deployment_target, product_gr # the name of the resources bundle. # # @param [Symbol] platform - # the platform of the resources bundle. Can be `:ios` or `:osx`. + # the platform of the resources bundle. Can be `:ios`, `:osx`, `:tvos`, `:visionos`, or `:watchos`. # # @param [PBXGroup] product_group # the product group, where to add to a file reference of the @@ -131,7 +131,7 @@ def self.new_resources_bundle(project, name, platform, product_group, product_ba # the name of the aggregate target. # # @param [Symbol] platform - # the platform of the aggregate target. Can be `:ios` or `:osx`. + # the platform of the aggregate target. Can be `:ios`, `:osx`, `:tvos`, `:visionos`, or `:watchos`. # # @param [String] deployment_target # the deployment target for the platform. @@ -194,7 +194,7 @@ def self.new_legacy_target(project, name, build_tool_path = '/usr/bin/make', bui # the project to which the configuration list should be added. # # @param [Symbol] platform - # the platform for the configuration list, can be `:ios` or `:osx`. + # the platform for the configuration list, can be `:ios`, `:osx`, `:tvos`, `:visionos`, or `:watchos`. # # @param [String] deployment_target # the deployment target for the platform. @@ -245,7 +245,7 @@ def self.configuration_list(project, platform = nil, deployment_target = nil, ta # `:debug`. # # @param [Symbol] platform - # the platform for the build settings, can be `:ios` or `:osx`. + # the platform for the build settings, can be `:ios`, `:osx`, `:tvos`, `:visionos`, or `:watchos`. # # @param [String] deployment_target # the deployment target for the platform.