Skip to content

Commit ba5a69b

Browse files
committed
Update PBXProject known_regions attribute to include 'Base' to match project files created using Xcode 11.1
1 parent 4c5b03b commit ba5a69b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/xcodeproj/project/object/root_object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class PBXProject < AbstractObject
4242

4343
# @return [Array<String>] the list of known regions.
4444
#
45-
attribute :known_regions, Array, ['en']
45+
attribute :known_regions, Array, %w(en Base)
4646

4747
# @return [PBXGroup] the main group of the project. The one displayed
4848
# by Xcode in the Project Navigator.

spec/project/object/root_object_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module ProjectSpecs
3232
end
3333

3434
it 'returns the known regions' do
35-
@root_object.known_regions.should == %w(en)
35+
@root_object.known_regions.should == %w(en Base)
3636
end
3737

3838
it 'returns the main group' do

0 commit comments

Comments
 (0)