diff --git a/src/tasks/podFileTask.ts b/src/tasks/podFileTask.ts index eb7273e..e97f90a 100644 --- a/src/tasks/podFileTask.ts +++ b/src/tasks/podFileTask.ts @@ -200,9 +200,9 @@ async function applyUseFrameworksModification( ifNotPresent: 'Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies', prepend: `Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} - installer.pod_targets.each do |pod| - if $static_libs.include?(pod.name) - def pod.build_type; +installer.pod_targets.each do |pod| + if $static_libs.include?(pod.name) + def pod.build_type; Pod::BuildType.static_library end end