Skip to content

Commit 0e4bcaa

Browse files
safaiyehfacebook-github-bot
authored andcommitted
Resolve localization warnings (#28046)
Summary: Resolve Xcode localization warnings in template ## Changelog [iOS] [Fixed] - Resolve localization warnings Pull Request resolved: #28046 Test Plan: Create a fresh template app, localization warnings should not happen. Differential Revision: D19873686 Pulled By: hramos fbshipit-source-id: 5db0e7da1048899c4049fe991bc354a6798dfb06
1 parent e998002 commit 0e4bcaa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

template/ios/HelloWorld.xcodeproj/project.pbxproj

+4-3
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
83CBB9F71A601CBA00E9B192 /* Project object */ = {
241241
isa = PBXProject;
242242
attributes = {
243-
LastUpgradeCheck = 0940;
243+
LastUpgradeCheck = 1130;
244244
TargetAttributes = {
245245
00E356ED1AD99517003FC87E = {
246246
CreatedOnToolsVersion = 6.2;
@@ -262,10 +262,9 @@
262262
};
263263
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "HelloWorld" */;
264264
compatibilityVersion = "Xcode 3.2";
265-
developmentRegion = English;
265+
developmentRegion = en;
266266
hasScannedForEncodings = 0;
267267
knownRegions = (
268-
English,
269268
en,
270269
Base,
271270
);
@@ -645,6 +644,7 @@
645644
isa = XCBuildConfiguration;
646645
buildSettings = {
647646
ALWAYS_SEARCH_USER_PATHS = NO;
647+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
648648
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
649649
CLANG_CXX_LIBRARY = "libc++";
650650
CLANG_ENABLE_MODULES = YES;
@@ -704,6 +704,7 @@
704704
isa = XCBuildConfiguration;
705705
buildSettings = {
706706
ALWAYS_SEARCH_USER_PATHS = NO;
707+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
707708
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
708709
CLANG_CXX_LIBRARY = "libc++";
709710
CLANG_ENABLE_MODULES = YES;

0 commit comments

Comments
 (0)