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
59127922
Commit
59127922
authored
Mar 15, 2015
by
Olivier Halligon
Committed by
AliSoftware
Apr 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[xcassets] added yard doc + return true to remove_pods_resources
parent
31faf5ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+5
-0
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
59127922
...
@@ -171,6 +171,10 @@ module Pod
...
@@ -171,6 +171,10 @@ module Pod
dirty
dirty
end
end
# Remove the 'Pods/Resources' group and all the pods resources from the user target
#
# @return [Boolean] true if user project has been modified
#
def
remove_pods_resources
def
remove_pods_resources
pods_group
=
user_project
[
'Pods'
]
pods_group
=
user_project
[
'Pods'
]
return
false
unless
pods_group
return
false
unless
pods_group
...
@@ -179,6 +183,7 @@ module Pod
...
@@ -179,6 +183,7 @@ module Pod
# TODO: Remove each resource from the "Copy Bundle Resources" phases too
# TODO: Remove each resource from the "Copy Bundle Resources" phases too
resources_group
.
remove_children_recursively
resources_group
.
remove_children_recursively
resources_group
.
remove_from_project
resources_group
.
remove_from_project
true
end
end
# Find or create a 'Embed Pods Frameworks' Copy Files Build Phase
# Find or create a 'Embed Pods Frameworks' Copy Files Build Phase
...
...
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