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

- 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") # either `iOS` or `OS X` + platform = Gym.project.build_settings("PLATFORM_DISPLAY_NAME") || "iOS" # either `iOS` or `OS X` Gym.config[:destination] = "generic/platform=#{platform}" end # Detects the available configurations (e.g. Debug, Release)