lib/gym/xcode.rb in gym-1.6.2 vs lib/gym/xcode.rb in gym-1.6.3
- old
+ new
@@ -9,9 +9,10 @@
Helper.xcode_version
end
# Below Xcode 7 (which offers a new nice API to sign the app)
def pre_7?
+ UI.user_error!("Unable to locate Xcode. Please make sure to have Xcode installed on your machine") if xcode_version.nil?
v = xcode_version
is_pre = v.split('.')[0].to_i < 7
is_pre
end
end