Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
Fallback to iOS as the platform
Browse files Browse the repository at this point in the history
Fixes #52
  • Loading branch information
KrauseFx committed Aug 19, 2015
1 parent d530961 commit 60cb5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gym/detect_values.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def self.detect_scheme
# 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
Expand Down

0 comments on commit 60cb5bd

Please sign in to comment.