Skip to content

Commit

Permalink
Merge pull request behrang#32 from norio-nomura/nn-swift2.3
Browse files Browse the repository at this point in the history
Support Swift 2.3
  • Loading branch information
behrang committed Jun 30, 2016
2 parents 19b7975 + b0ee199 commit eecbc91
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Yaml.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ Pod::Spec.new do |s|
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source_files = "Yaml/*.swift"

# --- Target xcconfig ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '2.3' }

end
56 changes: 55 additions & 1 deletion Yaml.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -342,25 +342,31 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0700;
LastUpgradeCheck = 0800;
TargetAttributes = {
8313C4281C8DC2CB00DEF215 = {
CreatedOnToolsVersion = 7.2.1;
LastSwiftMigration = 0800;
};
8313C4311C8DC2CB00DEF215 = {
CreatedOnToolsVersion = 7.2.1;
LastSwiftMigration = 0800;
};
8E1D76201B258FEE0022C013 = {
CreatedOnToolsVersion = 6.3.2;
LastSwiftMigration = 0800;
};
8E1D762B1B258FEE0022C013 = {
CreatedOnToolsVersion = 6.3.2;
LastSwiftMigration = 0800;
};
F32DF2571B73054C0011046A = {
CreatedOnToolsVersion = 7.0;
LastSwiftMigration = 0800;
};
F32DF2601B73054C0011046A = {
CreatedOnToolsVersion = 7.0;
LastSwiftMigration = 0800;
};
};
};
Expand Down Expand Up @@ -565,6 +571,7 @@
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.1;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -612,6 +619,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.1;
VALIDATE_PRODUCT = YES;
Expand Down Expand Up @@ -660,6 +669,7 @@
PRODUCT_NAME = Tests;
SDKROOT = appletvos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
TVOS_DEPLOYMENT_TARGET = 9.1;
};
name = Debug;
Expand Down Expand Up @@ -698,6 +708,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = Tests;
SDKROOT = appletvos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
TVOS_DEPLOYMENT_TARGET = 9.1;
VALIDATE_PRODUCT = YES;
};
Expand Down Expand Up @@ -754,6 +766,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -802,6 +815,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -855,6 +870,7 @@
PRODUCT_NAME = Tests;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
};
name = Debug;
};
Expand Down Expand Up @@ -898,13 +914,30 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = Tests;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
};
name = Release;
};
8EF2541E1B258FB4001BCEBE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = behrang.Yaml;
PRODUCT_NAME = Yaml;
Expand All @@ -914,6 +947,21 @@
8EF2541F1B258FB4001BCEBE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PRODUCT_BUNDLE_IDENTIFIER = behrang.Yaml;
PRODUCT_NAME = Yaml;
};
Expand Down Expand Up @@ -969,6 +1017,7 @@
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand Down Expand Up @@ -1017,6 +1066,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -1068,6 +1119,7 @@
PRODUCT_NAME = Tests;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 2.3;
};
name = Debug;
};
Expand Down Expand Up @@ -1107,6 +1159,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = Tests;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 2.3;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion Yaml.xcodeproj/xcshareddata/xcschemes/Yaml OSX.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Yaml.xcodeproj/xcshareddata/xcschemes/Yaml iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
5 changes: 2 additions & 3 deletions Yaml.xcodeproj/xcshareddata/xcschemes/Yaml tvOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -11,8 +11,7 @@
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES"
hideIssues = "NO">
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8313C4281C8DC2CB00DEF215"
Expand Down

0 comments on commit eecbc91

Please sign in to comment.