Skip to content

Commit d6c9c13

Browse files
committed
add log for target missing in Pod.xcproj
1 parent 16f17fa commit d6c9c13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cocoapods-binary/Prebuild.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ def prebuild_frameworks!
9898
sum
9999
end
100100
targets = root_names_to_update.map do |root_name|
101-
name_to_target_hash[root_name]
101+
t = name_to_target_hash[root_name]
102+
raise "There's no target named (#{root_name}) in Pod.xcodeproj.\n #{name_to_target_hash.keys}" if t.nil?
103+
t
102104
end || []
103105

104106
# add the dendencies

0 commit comments

Comments
 (0)