lib/cocoapods-packager/spec_builder.rb in cocoapods-packager-qcloud-1.5.11 vs lib/cocoapods-packager/spec_builder.rb in cocoapods-packager-qcloud-1.5.13

- old
+ new

@@ -84,11 +84,12 @@ def spec_header spec = "Pod::Spec.new do |s|\n" %w(name version summary license authors homepage description social_media_url docset_url documentation_url screenshots frameworks weak_frameworks libraries requires_arc - deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths).each do |attribute| + deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths static_framework).each do |attribute| value = @spec.attributes_hash[attribute] + puts "attribute #{attribute} #{value}" next if value.nil? value = value.dump if value.class == String spec += " s.#{attribute} = #{value}\n" end spec += dependency