Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't raise an exception on newer Xcode than latest known #953

Merged
merged 4 commits into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading