From ffbca5d98a51902193b15d68d8724d43322805c1 Mon Sep 17 00:00:00 2001 From: Kyle Fleming Date: Fri, 17 Apr 2020 20:17:53 -0700 Subject: [PATCH] Fix license warning with subspecs --- lib/cocoapods-binary/Integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods-binary/Integration.rb b/lib/cocoapods-binary/Integration.rb index dab6aa7..de431e1 100644 --- a/lib/cocoapods-binary/Integration.rb +++ b/lib/cocoapods-binary/Integration.rb @@ -217,7 +217,7 @@ def empty_source_files(spec) end # to avoid the warning of missing license - spec.attributes_hash["license"] = {} + spec.root.attributes_hash["license"] = {} end