Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
4cbd1314
Commit
4cbd1314
authored
Apr 19, 2018
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BuildSettings docs to pass inch
parent
67d6846e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
10 deletions
+38
-10
build_settings.rb
lib/cocoapods/target/build_settings.rb
+38
-10
No files found.
lib/cocoapods/target/build_settings.rb
View file @
4cbd1314
...
...
@@ -8,7 +8,9 @@ module Pod
# @!group Constants
# @return [Set<String>] The build settings that should be treated as arrays, rather than strings.
# @return [Set<String>]
# The build settings that should be treated as arrays, rather than strings.
#
PLURAL_SETTINGS
=
%w(
ALTERNATE_PERMISSIONS_FILES
ARCHS
...
...
@@ -33,8 +35,9 @@ module Pod
WARNING_LDFLAGS
)
.
to_set
.
freeze
# @return [String] The variable for the configuration build directory used when
# building pod targets.
# @return [String]
# The variable for the configuration build directory used when building pod targets.
#
CONFIGURATION_BUILD_DIR_VARIABLE
=
'${PODS_CONFIGURATION_BUILD_DIR}'
.
freeze
#-------------------------------------------------------------------------#
...
...
@@ -132,7 +135,9 @@ module Pod
# @!group Public API
# @return [Set<String>] a set of all the build settings names that will be present in the #xcconfig
# @return [Set<String>] a set of all the build settings names that will
# be present in the #xcconfig
#
attr_reader
:build_settings_names
end
...
...
@@ -140,10 +145,16 @@ module Pod
# @!group Public API
# @return [Target] The target this
# @return [Target]
# The target this build settings object is generating build settings for
#
attr_reader
:target
# @param [Target] target @see #target
# Initialize a new instance
#
# @param [Target] target
# see {#target}
#
def
initialize
(
target
)
@target
=
target
end
...
...
@@ -164,11 +175,15 @@ module Pod
xcconfig
end
# Saves the generated xcconfig to the given path
#
# @return [Xcodeproj::Config]
#
# @see #xcconfig
#
# @param [String,Pathname] path
# The path the xcconfig will be saved to
#
def
save_as
(
path
)
xcconfig
.
save_as
(
path
)
end
...
...
@@ -428,9 +443,16 @@ module Pod
attr_reader
:test_xcconfig
alias
test_xcconfig?
test_xcconfig
# @param [PodTarget] target @see #target
# Intializes a new instance
#
# @param [PodTarget] target
# see {#target}
#
# @param [String] configuration_name
# see {#configuration_name}
#
# @param [Boolean] test_xcconfig @see #test_xcconfig?
# @param [Boolean] test_xcconfig
# see {#test_xcconfig?}
#
def
initialize
(
target
,
test_xcconfig
)
super
(
target
)
...
...
@@ -799,8 +821,14 @@ module Pod
# The build configuration these settings will be used for
attr_reader
:configuration_name
# @param [AggregateTarget] target @see #target
# @param [String] configuration_name @see #configuration_name
# Intializes a new instance
#
# @param [AggregateTarget] target
# see {#target}
#
# @param [String] configuration_name
# see {#configuration_name}
#
def
initialize
(
target
,
configuration_name
)
super
(
target
)
@configuration_name
=
configuration_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment