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
e14397ee
Commit
e14397ee
authored
Jul 21, 2017
by
Dimitris Koutsogiorgas
Committed by
GitHub
Jul 21, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6893 from dnkoutso/cache_aggregate_paths
Cache result of resource and framework paths
parents
c6eee2ed
5f8c4f6e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
aggregate_target.rb
lib/cocoapods/target/aggregate_target.rb
+4
-0
No files found.
CHANGELOG.md
View file @
e14397ee
...
...
@@ -12,6 +12,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
*
Cache result of resource and framework paths
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6893
](
https://github.com/CocoaPods/CocoaPods/pull/6893
)
*
Ensure source urls are set when spec has subspecs with dependencies
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6888
](
https://github.com/CocoaPods/CocoaPods/pull/6888
)
...
...
lib/cocoapods/target/aggregate_target.rb
View file @
e14397ee
...
...
@@ -188,6 +188,7 @@ module Pod
# input and output paths grouped by config
#
def
framework_paths_by_config
@framework_paths_by_config
||=
begin
framework_paths_by_config
=
{}
user_build_configurations
.
keys
.
each
do
|
config
|
relevant_pod_targets
=
pod_targets
.
select
do
|
pod_target
|
...
...
@@ -197,10 +198,12 @@ module Pod
end
framework_paths_by_config
end
end
# @return [Hash{String => Array<String>}] Uniqued Resources grouped by config
#
def
resource_paths_by_config
@resource_paths_by_config
||=
begin
relevant_pod_targets
=
pod_targets
.
reject
do
|
pod_target
|
pod_target
.
should_build?
&&
pod_target
.
requires_frameworks?
end
...
...
@@ -211,6 +214,7 @@ module Pod
end
end
end
end
# @return [Pathname] the path of the bridge support file relative to the
# sandbox or `nil` if bridge support is disabled.
...
...
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