lib/cocoapods-ppbuild/helper/podfile_options.rb in cocoapods-ppbuild-0.0.4 vs lib/cocoapods-ppbuild/helper/podfile_options.rb in cocoapods-ppbuild-0.0.5
- old
+ new
@@ -75,12 +75,13 @@
target_definition = aggregate_target.target_definition
targets = aggregate_target.pod_targets || []
# filter prebuild
prebuild_names = target_definition.prebuild_framework_pod_names
- if not Podfile::DSL.prebuild_all
- targets = targets.select { |pod_target| prebuild_names.include?(pod_target.pod_name) }
- end
+ # if not Podfile::DSL.prebuild_all
+ # targets = targets.select { |pod_target| prebuild_names.include?(pod_target.pod_name) }
+ # end
+ targets = targets.select { |pod_target| prebuild_names.include?(pod_target.pod_name) }
dependency_targets = targets.map {|t| t.recursive_dependent_targets }.flatten.uniq || []
targets = (targets + dependency_targets).uniq
# filter should not prebuild
explict_should_not_names = target_definition.should_not_prebuild_framework_pod_names