Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update platform arguments to specify new platforms #937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/xcodeproj/project/project_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down