lib/gym/detect_values.rb in gym-0.7.2 vs lib/gym/detect_values.rb in gym-0.7.3

- old
+ new

@@ -130,10 +130,10 @@ end # Is it an iOS device or a Mac? def self.detect_platform return if Gym.config[:destination] - platform = Gym.project.build_settings(key: "PLATFORM_DISPLAY_NAME") || "iOS" # either `iOS` or `OS X` + platform = Gym.project.mac? ? "OS X" : "iOS" # either `iOS` or `OS X` Gym.config[:destination] = "generic/platform=#{platform}" end # Detects the available configurations (e.g. Debug, Release)