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

- old
+ new

@@ -84,10 +84,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 vendored_libraries vendored_frameworks).each do |attribute| + deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths).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