lib/gym/generators/package_command_generator.rb in gym-0.7.1 vs lib/gym/generators/package_command_generator.rb in gym-0.7.2
- old
+ new
@@ -26,10 +26,10 @@
private
# The generator we need to use for the currently used Xcode version
def generator
- if Xcode.pre_7? and !Gym.config[:use_legacy_build_api]
+ if Xcode.pre_7? or Gym.config[:use_legacy_build_api]
PackageCommandGeneratorLegacy
else
PackageCommandGeneratorXcode7
end
end