Skip to content

Commit

Permalink
Write dSYMs in binary mode to avoid UndefinedConversion error (fastla…
Browse files Browse the repository at this point in the history
…ne#11592)

* Write dsym archives in binary mode to avoid Encoding::UndefinedConversionError

* No need for block, just binwrite dSYMs
  • Loading branch information
emes authored and taquitos committed Jan 17, 2018
1 parent 403ca43 commit 454e4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/actions/download_dsyms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def self.write_dsym(data, bundle_id, train_number, build_number, output_director
if output_directory
file_name = output_directory + file_name
end
File.write(file_name, data)
File.binwrite(file_name, data)
file_name
end

Expand Down

0 comments on commit 454e4c6

Please sign in to comment.