Skip to content

Commit

Permalink
Fix -> Library/Ruby/Gems/2.3.0/gems/slather-2.4.5/lib/slather/project…
Browse files Browse the repository at this point in the history
….rb:537:in `matches_arch': undefined method `split' for nil:NilClass (NoMethodError)
  • Loading branch information
Chris Giovanoudis committed May 24, 2018
1 parent 69b7411 commit 78f9734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slather/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def find_buildable_names(xcscheme)
def matches_arch(binary_path)
if self.arch
lipo_output = `lipo -info "#{binary_path}"`
archs_in_binary = lipo_output.split(':').last.split(' ')
archs_in_binary = lipo_output.split(':').last.to_s.split(' ')
archs_in_binary.include? self.arch
else
true
Expand Down

0 comments on commit 78f9734

Please sign in to comment.