lib/snapshot/runner.rb in snapshot-1.16.2 vs lib/snapshot/runner.rb in snapshot-1.16.3

- old
+ new

@@ -11,19 +11,23 @@ def work if File.exist?("./fastlane/snapshot.js") or File.exist?("./snapshot.js") UI.error "Found old snapshot configuration file 'snapshot.js'" UI.error "You updated to snapshot 1.0 which now uses UI Automation" - UI.error "Please follow the migration guide: https://github.com/fastlane/snapshot/blob/master/MigrationGuide.md" + UI.error "Please follow the migration guide: https://github.com/fastlane/fastlane/blob/master/snapshot/MigrationGuide.md" UI.error "And read the updated documentation: https://github.com/fastlane/fastlane/tree/master/snapshot" sleep 3 # to be sure the user sees this, as compiling clears the screen end Snapshot.config[:output_directory] = File.expand_path(Snapshot.config[:output_directory]) verify_helper_is_current - FastlaneCore::PrintTable.print_values(config: Snapshot.config, hide_keys: [], title: "Summary for snapshot #{Snapshot::VERSION}") + # Also print out the path to the used Xcode installation + # We go 2 folders up, to not show "Contents/Developer/" + values = Snapshot.config.values(ask: false) + values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path) + FastlaneCore::PrintTable.print_values(config: values, hide_keys: [], title: "Summary for snapshot #{Snapshot::VERSION}") clear_previous_screenshots if Snapshot.config[:clear_previous_screenshots] UI.success "Building and running project - this might take some time..."