Commit 31faf5ca authored by Olivier Halligon's avatar Olivier Halligon Committed by AliSoftware

[xcassets] Typo in method name

parent 10ca8e78
...@@ -162,6 +162,8 @@ module Pod ...@@ -162,6 +162,8 @@ module Pod
end end
end end
end end
# TODO: Remove/Deintegrate pods resources no longer in a target (remove from target,
# or even from projet if no more target linked to)
# TODO: Remove code in FileReferencesInstaller#add_resource that adds resources to the Pods.xcodeproj # TODO: Remove code in FileReferencesInstaller#add_resource that adds resources to the Pods.xcodeproj
# TODO: Remove Pods-resources.sh (completely or partially?) # TODO: Remove Pods-resources.sh (completely or partially?)
...@@ -169,14 +171,14 @@ module Pod ...@@ -169,14 +171,14 @@ module Pod
dirty dirty
end end
def remove_pod_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
resources_group = pods_group['Resources'] resources_group = pods_group['Resources']
return false unless resources_group return false unless resources_group
# 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
# TODO: Is it properly removed from the "Copy Bundle Resources" phase too?
end end
# Find or create a 'Embed Pods Frameworks' Copy Files Build Phase # Find or create a 'Embed Pods Frameworks' Copy Files Build Phase
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment