Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
Fixed "The generated archive is invalid"
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Oct 28, 2015
1 parent 5eee386 commit dddca18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gym/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dddca18

Please sign in to comment.