Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Introduce xcconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Dec 17, 2018
1 parent f27c31f commit f0a9f83
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
16 changes: 4 additions & 12 deletions FutureX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
0CAA5D1F1DB14780001F6D96 /* A+Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "A+Tests.swift"; sourceTree = "<group>"; };
0CAA5D221DB14859001F6D96 /* Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
0CAA5D461DB149FF001F6D96 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
0CD0B07421C8423A000581BB /* Future.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Future.xcconfig; sourceTree = "<group>"; };
0CD4DCD021A9A81800B45CA2 /* FutureCompatible.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FutureCompatible.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -157,6 +158,7 @@
isa = PBXGroup;
children = (
0C5108301D4E820D00F1F405 /* Info.plist */,
0CD0B07421C8423A000581BB /* Future.xcconfig */,
);
path = "Supporting Files";
sourceTree = SOURCE_ROOT;
Expand Down Expand Up @@ -506,6 +508,7 @@
};
0C5108271D4E81CE00F1F405 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0CD0B07421C8423A000581BB /* Future.xcconfig */;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
Expand Down Expand Up @@ -553,23 +556,18 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SUPPORTED_PLATFORMS = "iphoneos macosx appletvos watchos iphonesimulator appletvsimulator watchsimulator";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
0C5108281D4E81CE00F1F405 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0CD0B07421C8423A000581BB /* Future.xcconfig */;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
Expand Down Expand Up @@ -611,16 +609,10 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SUPPORTED_PLATFORMS = "iphoneos macosx appletvos watchos iphonesimulator appletvsimulator watchsimulator";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
Expand Down
12 changes: 12 additions & 0 deletions Supporting Files/Future.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974

SUPPORTED_PLATFORMS = iphoneos macosx appletvos watchos iphonesimulator appletvsimulator watchsimulator

SWIFT_VERSION = 4.2

IPHONEOS_DEPLOYMENT_TARGET = 9.0
MACOSX_DEPLOYMENT_TARGET = 10.11
TVOS_DEPLOYMENT_TARGET = 9.0
WATCHOS_DEPLOYMENT_TARGET = 2.0

0 comments on commit f0a9f83

Please sign in to comment.