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
da570b7a
Commit
da570b7a
authored
Apr 08, 2015
by
AliSoftware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[xcassets] Deintegration: only iterate over native targets
parent
8aa9dfd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Gemfile.lock
Gemfile.lock
+1
-1
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+1
-1
No files found.
Gemfile.lock
View file @
da570b7a
...
@@ -24,7 +24,7 @@ GIT
...
@@ -24,7 +24,7 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
c42f8f2db7475210f4c4e28e6d2bb92859bb6766
revision:
d390a868d855b9f1b6978ac1286cefd34631b732
branch: master
branch: master
specs:
specs:
xcodeproj (0.23.1)
xcodeproj (0.23.1)
...
...
lib/cocoapods/installer/user_project_integrator.rb
View file @
da570b7a
...
@@ -131,7 +131,7 @@ module Pod
...
@@ -131,7 +131,7 @@ module Pod
is_dirty
=
false
is_dirty
=
false
TargetIntegrator
.
each_pods_resources
(
project
)
do
|
file_ref
|
TargetIntegrator
.
each_pods_resources
(
project
)
do
|
file_ref
|
file_in_at_least_one_target
=
false
file_in_at_least_one_target
=
false
project
.
targets
.
each
do
|
user_target
|
project
.
native_
targets
.
each
do
|
user_target
|
# Seems like user_target.resources_build_phase.include?(file_ref) does not work as expected here :(
# Seems like user_target.resources_build_phase.include?(file_ref) does not work as expected here :(
file_is_in_target
=
user_target
.
resources_build_phase
.
files_references
.
any?
{
|
f
|
f
.
path
==
file_ref
.
path
}
file_is_in_target
=
user_target
.
resources_build_phase
.
files_references
.
any?
{
|
f
|
f
.
path
==
file_ref
.
path
}
next
unless
file_is_in_target
next
unless
file_is_in_target
...
...
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