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
2a871b7a
Commit
2a871b7a
authored
Jul 29, 2014
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Use downcase to validate configurations
parent
d0ffe31e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Gemfile.lock
Gemfile.lock
+1
-1
installer.rb
lib/cocoapods/installer.rb
+1
-2
No files found.
Gemfile.lock
View file @
2a871b7a
...
@@ -18,7 +18,7 @@ GIT
...
@@ -18,7 +18,7 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
f7e2a798464b7f4fce49379a748490a8ba83549a
revision:
96d04e9f2d96b848bb36d5fe214843f8cfac2664
branch: master
branch: master
specs:
specs:
xcodeproj (0.18.0)
xcodeproj (0.18.0)
...
...
lib/cocoapods/installer.rb
View file @
2a871b7a
...
@@ -117,7 +117,6 @@ module Pod
...
@@ -117,7 +117,6 @@ module Pod
install_file_references
install_file_references
install_libraries
install_libraries
set_target_dependencies
set_target_dependencies
# note: linking with pod libraries is now done by aggregate_xcconfig's OTHER_LDFLAGS
run_post_install_hooks
run_post_install_hooks
write_pod_project
write_pod_project
write_lockfiles
write_lockfiles
...
@@ -185,7 +184,7 @@ module Pod
...
@@ -185,7 +184,7 @@ module Pod
#
#
def
validate_build_configurations
def
validate_build_configurations
whitelisted_configs
=
pod_targets
.
map
do
|
target
|
whitelisted_configs
=
pod_targets
.
map
do
|
target
|
target
.
target_definition
.
all_whitelisted_configurations
target
.
target_definition
.
all_whitelisted_configurations
.
map
(
&
:downcase
)
end
.
flatten
.
uniq
end
.
flatten
.
uniq
all_user_configurations
=
analysis_result
.
all_user_build_configurations
.
keys
.
map
(
&
:downcase
)
all_user_configurations
=
analysis_result
.
all_user_build_configurations
.
keys
.
map
(
&
:downcase
)
...
...
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