Skip to content

Commit

Permalink
Merge pull request #953 from Kaspik/patch-1
Browse files Browse the repository at this point in the history
Don't raise an exception on newer Xcode than latest known
  • Loading branch information
orta authored Aug 2, 2024
2 parents fe55cf5 + 360594d commit bf23c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/xcodeproj/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ def initialize_from_file
end

if archive_version.to_i > Constants::LAST_KNOWN_ARCHIVE_VERSION
raise "[Xcodeproj] Unknown archive version (#{archive_version.to_i})."
UI.warn "[Xcodeproj] Archive version (#{archive_version.to_i}) is higher than the latest supported by xcodeproj (#{Constants::LAST_KNOWN_ARCHIVE_VERSION})."
end

if object_version.to_i > Constants::LAST_KNOWN_OBJECT_VERSION
raise "[Xcodeproj] Unknown object version (#{object_version.to_i})."
UI.warn "[Xcodeproj] Xcode project version (#{object_version.to_i}) is higher than the latest supported by xcodeproj (#{Constants::LAST_KNOWN_OBJECT_VERSION})."
end

# Projects can have product_ref_groups that are not listed in the main_groups["Products"]
Expand Down

0 comments on commit bf23c4c

Please sign in to comment.