File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ def prebuild_frameworks!
143
143
object . target_file_path = path . gsub ( '${PODS_ROOT}' , standard_sandbox_path . to_s )
144
144
object
145
145
end
146
- Prebuild ::Passer . resources_to_copy_for_static_framework ||= { }
147
146
Prebuild ::Passer . resources_to_copy_for_static_framework [ target . name ] = path_objects
148
147
end
149
148
end
@@ -158,7 +157,6 @@ def prebuild_frameworks!
158
157
# If target shouldn't build, we copy all the original files
159
158
# This is for target with only .a and .h files
160
159
if not target . should_build?
161
- Prebuild ::Passer . target_names_to_skip_integration_framework ||= [ ]
162
160
Prebuild ::Passer . target_names_to_skip_integration_framework << target . pod_name
163
161
FileUtils . cp_r ( root_path , target_folder , :remove_destination => true )
164
162
next
Original file line number Diff line number Diff line change @@ -26,13 +26,15 @@ class ResourcePath
26
26
#
27
27
# @return [Hash<String, [Passer::ResourcePath]>]
28
28
class_attr_accessor :resources_to_copy_for_static_framework
29
+ resources_to_copy_for_static_framework = { }
29
30
30
31
# Some pod won't be build in prebuild stage even if it have `binary=>true`.
31
32
# The targets of this pods have `should_build? == true`.
32
33
# We should skip integration (patch spec) for this pods
33
34
#
34
35
# @return [Array<String>]
35
36
class_attr_accessor :target_names_to_skip_integration_framework
37
+ target_names_to_skip_integration_framework = [ ]
36
38
37
39
end
38
40
end
You can’t perform that action at this time.
0 commit comments