From 0e4bcaa2960a2b1aa42dbe716fc6a35652aa7207 Mon Sep 17 00:00:00 2001 From: Jason Safaiyeh Date: Tue, 18 Feb 2020 21:41:50 -0800 Subject: [PATCH] Resolve localization warnings (#28046) Summary: Resolve Xcode localization warnings in template ## Changelog [iOS] [Fixed] - Resolve localization warnings Pull Request resolved: https://github.com/facebook/react-native/pull/28046 Test Plan: Create a fresh template app, localization warnings should not happen. Differential Revision: D19873686 Pulled By: hramos fbshipit-source-id: 5db0e7da1048899c4049fe991bc354a6798dfb06 --- template/ios/HelloWorld.xcodeproj/project.pbxproj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/template/ios/HelloWorld.xcodeproj/project.pbxproj b/template/ios/HelloWorld.xcodeproj/project.pbxproj index 3c7c3d60da1807..7416f98214a3e6 100644 --- a/template/ios/HelloWorld.xcodeproj/project.pbxproj +++ b/template/ios/HelloWorld.xcodeproj/project.pbxproj @@ -240,7 +240,7 @@ 83CBB9F71A601CBA00E9B192 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0940; + LastUpgradeCheck = 1130; TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; @@ -262,10 +262,9 @@ }; buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "HelloWorld" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); @@ -645,6 +644,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -704,6 +704,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES;