lib/gym/runner.rb in gym-1.1.2 vs lib/gym/runner.rb in gym-1.1.3
- old
+ new
@@ -84,10 +84,11 @@
Helper.log.info("Stored the archive in: ".green + BuildCommandGenerator.archive_path) if $verbose
end
# 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
def package_app