lib/gym/package_command_generator.rb in gym-0.3.3 vs lib/gym/package_command_generator.rb in gym-0.3.4

- old
+ new

@@ -34,10 +34,13 @@ def pipe [""] end def appfile_path - Dir[BuildCommandGenerator.archive_path + "/**/*.app"].last + path = Dir.glob("#{BuildCommandGenerator.archive_path}/Products/Applications/*.app").first + path ||= Dir[BuildCommandGenerator.archive_path + "/**/*.app"].last + + return path end # We export it to the temporary folder and move it over to the actual output once it's finished and valid def ipa_path File.join(BuildCommandGenerator.build_path, "#{Gym.config[:output_name]}.ipa")