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
0d71f9e4
Commit
0d71f9e4
authored
Aug 22, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UserProjectIntegrator] Don't warn about overridden build settings if silent.
parent
d2dd1f93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+9
-6
No files found.
lib/cocoapods/installer/user_project_integrator.rb
View file @
0d71f9e4
...
...
@@ -6,7 +6,6 @@ require 'active_support/core_ext/array/conversions'
module
Pod
class
Installer
class
UserProjectIntegrator
include
Pod
::
Config
::
Mixin
...
...
@@ -58,6 +57,8 @@ module Pod
end
class
TargetIntegrator
include
Pod
::
Config
::
Mixin
attr_reader
:target_definition
def
initialize
(
target_definition
)
...
...
@@ -151,11 +152,13 @@ module Pod
config
.
base_configuration
=
xcconfig
end
config_build_names_by_overriden_key
.
each
do
|
key
,
config_build_names
|
name
=
"
#{
target
.
attributes
[
"name"
]
}
[
#{
config_build_names
.
join
(
' - '
)
}
]"
puts
"
\n
[!] The target `
#{
name
}
' overrides the `
#{
key
}
' build setting defined in `
#{
@target_definition
.
xcconfig_relative_path
}
'."
.
yellow
puts
" - Use the `$(inherited)' flag, or"
puts
" - Remove the build settings from the target."
unless
config
.
silent?
config_build_names_by_overriden_key
.
each
do
|
key
,
config_build_names
|
name
=
"
#{
target
.
attributes
[
"name"
]
}
[
#{
config_build_names
.
join
(
' - '
)
}
]"
puts
"
\n
[!] The target `
#{
name
}
' overrides the `
#{
key
}
' build setting defined in `
#{
@target_definition
.
xcconfig_relative_path
}
'."
.
yellow
puts
" - Use the `$(inherited)' flag, or"
puts
" - Remove the build settings from the target."
end
end
end
end
...
...
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