197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
# File 'lib/cocoapods-jiffy.rb', line 197
def cachedpod(name, *args)
if CocoapodsJiffy.use_jiffy
CocoapodsJiffy.ensure_podfile_jiffy_loaded(defined_in_file)
platform = CocoapodsJiffy::PLATFORM_SYMBOL_HASH[current_target_definition.platform.name]
dependencies = CocoapodsJiffy.collect_dependencies(name)
for dependency_name in dependencies
CocoapodsJiffy.register_cached_dependency(dependency_name, name)
CocoapodsJiffy::CONFIGURATION_MAPPINGS.each do |project_configuration, jiffy_configuration|
_pod "#{dependency_name}.#{jiffy_configuration}", path: File.join("Pods/#{jiffy_configuration}/#{platform}/#{dependency_name}"), integrate_target: false, configuration: [project_configuration]
end
end
else
_pod(name, *args)
end
end
|