Permalink
Browse files

Bug fix for the case there is no simulator family specified.

  • Loading branch information...
1 parent aa9097d commit 011c070d1294497f6514dc9a745f071fb773aca2 Rob Holland committed Jun 25, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/icuke/sdk.rb
View
@@ -120,7 +120,8 @@ def self.ld
"xcrun -sdk #{fullname} gcc -I. -I#{sdk_ext_dir} -I#{sdk_ext_dir}/json #{cflags} #{abi_flags}"
end
- def self.launch(application, family = :iphone, environment = {})
+ def self.launch(application, family, environment = {})
+ family ||= :iphone
environment_args = environment.map { |k, v| %Q{-e "#{k}=#{v}"} }.join(' ')
%Q{#{ICUKE_BIN_DIR}/waxsim -s #{version} -f #{family} #{environment_args} "#{application}"}
end

0 comments on commit 011c070

Please sign in to comment.