Skip to content

Commit

Permalink
[XCScheme] Get rid of the version check when loading from file
Browse files Browse the repository at this point in the history
(as latest Xcode seem to sometimes use 1.8 which is retro-compatible with 1.3)
  • Loading branch information
AliSoftware committed Aug 1, 2015
1 parent eddfd69 commit a28b0c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/xcodeproj/scheme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def initialize(file_path = nil)
@doc.context[:attribute_quote] = :quote

@scheme = @doc.elements['Scheme']
raise Informative, 'Unsupported scheme version' unless @scheme.attributes['version'] == Xcodeproj::Constants::XCSCHEME_FORMAT_VERSION
else
@doc = REXML::Document.new
@doc.context[:attribute_quote] = :quote
Expand Down

0 comments on commit a28b0c1

Please sign in to comment.