Skip to content

Commit dc3b369

Browse files
committed
fix
1 parent 614915e commit dc3b369

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cocoapods-binary/Integration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def remove_target_files_if_needed
132132
# check the pods
133133
# Although we have did it in prebuild stage, it's not sufficient.
134134
# Same pod may appear in another target in form of source code.
135-
Prebuild.check_one_pod_should_have_only_one_target(targets)
135+
Prebuild.check_one_pod_should_have_only_one_target(self.prebuild_pod_targets)
136136

137137
#
138138
specs = self.analysis_result.specifications

lib/cocoapods-binary/Prebuild.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def prebuild_frameworks!
116116

117117
# check
118118
# give a early warning, instead of after compiling all the pods
119-
Prebuild.check_one_pod_should_have_only_one_target(targets)
120119

120+
Prebuild.check_one_pod_should_have_only_one_target(self.pod_targets)
121121

122122
# build!
123123
Pod::UI.puts "Prebuild frameworks (total #{targets.count})"

0 commit comments

Comments
 (0)