From 498f01802fc2fe39468f13e0aa7a5c8c7d774ffe Mon Sep 17 00:00:00 2001 From: tichise Date: Wed, 10 Apr 2019 15:11:32 +0900 Subject: [PATCH] change Swift version from 4.2 to 5.0 --- EntypoSymbol.podspec | 2 +- Sample/Sample.xcodeproj/project.pbxproj | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/EntypoSymbol.podspec b/EntypoSymbol.podspec index 8898f25..95fa50c 100644 --- a/EntypoSymbol.podspec +++ b/EntypoSymbol.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'EntypoSymbol' - s.version = '1.9.0' + s.version = '1.9.1' s.license = 'Creative Commons Attribution 4.0 International (CC BY 4.0)' s.summary = 'Icon font library for Swift. Currently supports Entypo' s.homepage = 'https://github.com/tichise/EntypoSymbol' diff --git a/Sample/Sample.xcodeproj/project.pbxproj b/Sample/Sample.xcodeproj/project.pbxproj index 90841bb..00cb430 100644 --- a/Sample/Sample.xcodeproj/project.pbxproj +++ b/Sample/Sample.xcodeproj/project.pbxproj @@ -210,23 +210,23 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 1000; + LastUpgradeCheck = 1020; ORGANIZATIONNAME = tichise; TargetAttributes = { B09B7E1E1AFF03DF0074ACA7 = { CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1000; + LastSwiftMigration = 1020; }; B0F58FDA1D2FDB3500B598CD = { CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1000; + LastSwiftMigration = 1020; TestTargetID = B09B7E1E1AFF03DF0074ACA7; }; }; }; buildConfigurationList = B09B7E1A1AFF03DE0074ACA7 /* Build configuration list for PBXProject "Sample" */; compatibilityVersion = "Xcode 10.0"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -270,7 +270,7 @@ files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh", "${BUILT_PRODUCTS_DIR}/EntypoSymbol/EntypoSymbol.framework", ); name = "[CP] Embed Pods Frameworks"; @@ -279,7 +279,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 74AB154EF6D18097DB3A0636 /* [CP] Check Pods Manifest.lock */ = { @@ -372,6 +372,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; @@ -429,6 +430,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; @@ -490,7 +492,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "test.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -508,7 +510,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "test.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Release; }; @@ -529,7 +531,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = ichise.SampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Sample.app/Sample"; }; name = Debug; @@ -550,7 +552,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = ichise.SampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Sample.app/Sample"; }; name = Release;