diff --git a/lib/gym/runner.rb b/lib/gym/runner.rb index 388f1c8..d466101 100644 --- a/lib/gym/runner.rb +++ b/lib/gym/runner.rb @@ -86,7 +86,8 @@ def build_app # Makes sure the archive is there and valid def verify_archive - if Dir[BuildCommandGenerator.archive_path + "/*"].count == 0 + # from https://github.com/fastlane/gym/issues/115 + if (Dir[BuildCommandGenerator.archive_path + "/*"] + Dir[BuildCommandGenerator.archive_path + ".xcarchive/*"]).count == 0 ErrorHandler.handle_empty_archive end end