lib/gym/error_handler.rb in gym-1.4.0 vs lib/gym/error_handler.rb in gym-1.5.0

- old
+ new

@@ -97,10 +97,10 @@ print "The generated archive is invalid, this can have various reasons:" print "Usually it's caused by the `Skip Install` option in Xcode, set it to `NO`" print "For more information visit https://developer.apple.com/library/ios/technotes/tn2215/_index.html" print "Also, make sure to have a valid code signing identity and provisioning profile installed" print "Follow this guide to setup code signing https://github.com/fastlane/fastlane/blob/master/docs/CodeSigning.md" - raise "Archive invalid" + UI.user_error!("Archive invalid") end def find_standard_output_path(output) m = /Created bundle at path '(.*)'/.match(output) return File.join(m[1], 'IDEDistribution.standard.log') unless m.nil?