Skip to content

Commit d3f529d

Browse files
committed
fix the checking
1 parent 988a09f commit d3f529d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cocoapods-binary/helper/podfile_options.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def validate_every_pod_only_have_one_form
112112
end
113113

114114
multi_targets_pods = multi_targets_pods.reject do |name, targets|
115-
targets.all? {|t| self.prebuild_pod_targets.include? t}
115+
contained = targets.map{|t| self.prebuild_pod_targets.include? t }
116+
contained.uniq.count == 1 # all equal
116117
end
117118

118119
return if multi_targets_pods.empty?

0 commit comments

Comments
 (0)