diff --git a/lib/xcodeproj/project.rb b/lib/xcodeproj/project.rb index c187fbb9..09f61fb6 100644 --- a/lib/xcodeproj/project.rb +++ b/lib/xcodeproj/project.rb @@ -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"]