Skip to content

Commit 85aa760

Browse files
committed
[GL][merge leavez#148]
1 parent 3cc0cf3 commit 85aa760

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cocoapods-binary/Prebuild.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ def prebuild_frameworks!
9797
targets = root_names_to_update.map do |pod_name|
9898
tars = Pod.fast_get_targets_for_pod_name(pod_name, self.pod_targets, cache)
9999
if tars.nil? || tars.empty?
100-
raise "There's no target named (#{pod_name}) in Pod.xcodeproj.\n #{self.pod_targets.map(&:name)}" if t.nil?
100+
# https://github.com/leavez/cocoapods-binary/pull/148
101+
raise "There's no target named (#{pod_name}) in Pod.xcodeproj.\n #{self.pod_targets.map(&:name)}" if tars.nil?
101102
end
102103
tars
103104
end.flatten

0 commit comments

Comments
 (0)