lib/gym/detect_values.rb in gym-0.4.1 vs lib/gym/detect_values.rb in gym-0.4.2

- old
+ new

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