lib/snapshot/dependency_checker.rb in snapshot-1.13.1 vs lib/snapshot/dependency_checker.rb in snapshot-1.14.0
- old
+ new
@@ -15,10 +15,10 @@
UI.error "# Run xcode-select --install to install the developer tools"
UI.error '#############################################################'
UI.user_error!("Run 'xcode-select --install' and start snapshot again")
end
- if Snapshot::LatestIosVersion.version.to_f < 9 # to_f is bad, but should be good enough
+ if Snapshot::LatestOsVersion.ios_version.to_f < 9 # to_f is bad, but should be good enough
UI.error '#############################################################'
UI.error "# Your xcode-select Xcode version is below 7.0"
UI.error "# To use snapshot 1.0 and above you need at least iOS 9"
UI.error "# Set the path to the Xcode version that supports UI Tests"
UI.error "# or downgrade to versions older than snapshot 1.0"