class FrameworkValidationError
Public Class Methods
new(errors)
click to toggle source
# File lib/errors.rb, line 49 def initialize(errors) @errors = errors end
Public Instance Methods
to_s()
click to toggle source
# File lib/errors.rb, line 53 def to_s header = ["Framework", CARTHAGE_BUILD_DIR, CARTFILE_RESOLVED] rows = @errors.map { |e| [e.framework_name, e.build_version, e.cartfile_resolved_version] } table = Table.new(header, rows) <<~EOS Detected differences between existing frameworks in '#{CARTHAGE_BUILD_DIR}' and entries in '#{CARTFILE_RESOLVED}': #{table} To resolve the issue: - run `carthagerc download` to fetch missing frameworks from the server. - if the issue persists, run `carthage bootstrap` to build frameworks and `carthagerc upload` to populate the server. EOS end