snapshot/lib/snapshot/runner.rb in fastlane-2.39.1 vs snapshot/lib/snapshot/runner.rb in fastlane-2.39.2
- old
+ new
@@ -16,9 +16,13 @@
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
+ if Helper.xcode_at_least?("9")
+ UI.user_error!("snapshot currently doesn't work with Xcode 9, we're working on implementing the new screenshots API to offer the best experience 🚀\nYou can change the Xcode version to use using `sudo xcode-select -s /Applications/Xcode...app`")
+ end
+
Snapshot.config[:output_directory] = File.expand_path(Snapshot.config[:output_directory])
verify_helper_is_current
# Also print out the path to the used Xcode installation