bin/calabash-ios-setup.rb in calabash-cucumber-0.9.163.pre11 vs bin/calabash-ios-setup.rb in calabash-cucumber-0.9.163

- old
+ new

@@ -237,11 +237,11 @@ Dir fail = true end app_dir = Dir.foreach("#{dir}/Payload").find {|d| /\.app$/.match(d)} - app = app_dir.split(".")[0] - res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}/#{app}" -o 2> /dev/null | grep CalabashServer` + + res = `otool "#{File.expand_path(dir)}/Payload/#{app_dir}/"* -o 2> /dev/null | grep CalabashServer` msg("Info") do if /CalabashServer/.match(res) puts "Ipa: #{ipa} *contains* calabash.framework" else puts "Ipa: #{ipa} *does not contain* calabash.framework" \ No newline at end of file