lib/cocoapods-packager/spec_builder.rb in cocoapods-packager-qcloud-1.5.4 vs lib/cocoapods-packager/spec_builder.rb in cocoapods-packager-qcloud-1.5.5

- old
+ new

@@ -20,11 +20,11 @@ spec = <<RB s.#{platform.name}.deployment_target = '#{platform.deployment_target}' s.#{platform.name}.vendored_framework = '#{fwk_base}' RB - %w(frameworks weak_frameworks libraries requires_arc xcconfig).each do |attribute| + %w(frameworks weak_frameworks libraries requires_arc xcconfig ).each do |attribute| attributes_hash = @spec.attributes_hash[platform.name.to_s] next if attributes_hash.nil? value = attributes_hash[attribute] next if value.nil? @@ -66,10 +66,10 @@ 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).each do |attribute| + deployment_target xcconfig vendored_libraries vendored_frameworks).each do |attribute| value = @spec.attributes_hash[attribute] next if value.nil? value = value.dump if value.class == String spec += " s.#{attribute} = #{value}\n" end