From c1f8a09b60d262a8202804513ab134a03694efc0 Mon Sep 17 00:00:00 2001 From: Alfred Gao Date: Tue, 3 Jan 2017 00:10:07 +0800 Subject: [PATCH] modified schema about build target --- .../TextFormater.xcodeproj/project.pbxproj | 27 ++++++++++++++----- .../xcschemes/TextFormater-Example.xcscheme | 2 +- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/Example/TextFormater.xcodeproj/project.pbxproj b/Example/TextFormater.xcodeproj/project.pbxproj index 734c6e0..6203724 100644 --- a/Example/TextFormater.xcodeproj/project.pbxproj +++ b/Example/TextFormater.xcodeproj/project.pbxproj @@ -29,9 +29,9 @@ /* Begin PBXFileReference section */ 171D881101FF2BCFF34DC416 /* Pods_TextFormater_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TextFormater_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 1E536DAB4168D41AF92F7820 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 1E536DAB4168D41AF92F7820 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 2DA1A340F6A2BF09DC5AF1DC /* Pods-TextFormater_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TextFormater_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TextFormater_Example/Pods-TextFormater_Example.debug.xcconfig"; sourceTree = ""; }; - 3E5F1F7356B2E162E83E6742 /* TextFormater.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = TextFormater.podspec; path = ../TextFormater.podspec; sourceTree = ""; }; + 3E5F1F7356B2E162E83E6742 /* TextFormater.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = TextFormater.podspec; path = ../TextFormater.podspec; sourceTree = ""; }; 607FACD01AFB9204008FA782 /* TextFormater_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TextFormater_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -43,7 +43,7 @@ 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 639B37495B7DA3E3891E3F5D /* Pods_TextFormater_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TextFormater_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7F208F7F68D676672A53F29E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 7F208F7F68D676672A53F29E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 9FFC47CC7C89C97A68765157 /* Pods-TextFormater_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TextFormater_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TextFormater_Tests/Pods-TextFormater_Tests.debug.xcconfig"; sourceTree = ""; }; AB1471645EB05F616A0A8641 /* Pods-TextFormater_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TextFormater_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TextFormater_Tests/Pods-TextFormater_Tests.release.xcconfig"; sourceTree = ""; }; BD6C741B766F935C22C62691 /* Pods-TextFormater_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TextFormater_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-TextFormater_Example/Pods-TextFormater_Example.release.xcconfig"; sourceTree = ""; }; @@ -210,14 +210,16 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0720; + LastUpgradeCheck = 0820; ORGANIZATIONNAME = CocoaPods; TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0820; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0820; TestTargetID = 607FACCF1AFB9204008FA782; }; }; @@ -415,8 +417,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -439,7 +443,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -460,8 +464,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -477,9 +483,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; VALIDATE_PRODUCT = YES; }; name = Release; @@ -488,12 +495,15 @@ isa = XCBuildConfiguration; baseConfigurationReference = 2DA1A340F6A2BF09DC5AF1DC /* Pods-TextFormater_Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = TextFormater/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Debug; }; @@ -501,12 +511,15 @@ isa = XCBuildConfiguration; baseConfigurationReference = BD6C741B766F935C22C62691 /* Pods-TextFormater_Example.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = TextFormater/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Release; }; @@ -526,6 +539,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Debug; }; @@ -541,6 +555,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Release; }; diff --git a/Example/TextFormater.xcodeproj/xcshareddata/xcschemes/TextFormater-Example.xcscheme b/Example/TextFormater.xcodeproj/xcshareddata/xcschemes/TextFormater-Example.xcscheme index f4e7348..c661b02 100644 --- a/Example/TextFormater.xcodeproj/xcshareddata/xcschemes/TextFormater-Example.xcscheme +++ b/Example/TextFormater.xcodeproj/xcshareddata/xcschemes/TextFormater-Example.xcscheme @@ -1,6 +1,6 @@