Skip to content

Commit e2432a6

Browse files
committed
swift 4
1 parent e278e48 commit e2432a6

File tree

5 files changed

+32
-8
lines changed

5 files changed

+32
-8
lines changed

SwiftyTimer.xcodeproj/project.pbxproj

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@
205205
3E721AB21BF7255C008AF027 /* Project object */ = {
206206
isa = PBXProject;
207207
attributes = {
208-
LastUpgradeCheck = 0800;
208+
LastUpgradeCheck = 0920;
209209
ORGANIZATIONNAME = "Radosław Pietruszewski";
210210
TargetAttributes = {
211211
3E721ABA1BF7255D008AF027 = {
212212
CreatedOnToolsVersion = 7.1;
213-
LastSwiftMigration = 0800;
213+
LastSwiftMigration = 0920;
214214
};
215215
6E7E40891C84B1A20030CEBB = {
216216
CreatedOnToolsVersion = 7.2;
@@ -318,14 +318,20 @@
318318
CLANG_CXX_LIBRARY = "libc++";
319319
CLANG_ENABLE_MODULES = YES;
320320
CLANG_ENABLE_OBJC_ARC = YES;
321+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
321322
CLANG_WARN_BOOL_CONVERSION = YES;
323+
CLANG_WARN_COMMA = YES;
322324
CLANG_WARN_CONSTANT_CONVERSION = YES;
323325
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
324326
CLANG_WARN_EMPTY_BODY = YES;
325327
CLANG_WARN_ENUM_CONVERSION = YES;
326328
CLANG_WARN_INFINITE_RECURSION = YES;
327329
CLANG_WARN_INT_CONVERSION = YES;
330+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
331+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
328332
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
333+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
334+
CLANG_WARN_STRICT_PROTOTYPES = YES;
329335
CLANG_WARN_SUSPICIOUS_MOVE = YES;
330336
CLANG_WARN_UNREACHABLE_CODE = YES;
331337
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -355,7 +361,7 @@
355361
ONLY_ACTIVE_ARCH = YES;
356362
SDKROOT = iphoneos;
357363
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
358-
SWIFT_VERSION = 3.0;
364+
SWIFT_VERSION = 4.0;
359365
TARGETED_DEVICE_FAMILY = "1,2";
360366
VERSIONING_SYSTEM = "apple-generic";
361367
VERSION_INFO_PREFIX = "";
@@ -370,14 +376,20 @@
370376
CLANG_CXX_LIBRARY = "libc++";
371377
CLANG_ENABLE_MODULES = YES;
372378
CLANG_ENABLE_OBJC_ARC = YES;
379+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
373380
CLANG_WARN_BOOL_CONVERSION = YES;
381+
CLANG_WARN_COMMA = YES;
374382
CLANG_WARN_CONSTANT_CONVERSION = YES;
375383
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
376384
CLANG_WARN_EMPTY_BODY = YES;
377385
CLANG_WARN_ENUM_CONVERSION = YES;
378386
CLANG_WARN_INFINITE_RECURSION = YES;
379387
CLANG_WARN_INT_CONVERSION = YES;
388+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
389+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
380390
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
391+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
392+
CLANG_WARN_STRICT_PROTOTYPES = YES;
381393
CLANG_WARN_SUSPICIOUS_MOVE = YES;
382394
CLANG_WARN_UNREACHABLE_CODE = YES;
383395
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -400,7 +412,7 @@
400412
MTL_ENABLE_DEBUG_INFO = NO;
401413
SDKROOT = iphoneos;
402414
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
403-
SWIFT_VERSION = 3.0;
415+
SWIFT_VERSION = 4.0;
404416
TARGETED_DEVICE_FAMILY = "1,2";
405417
VALIDATE_PRODUCT = YES;
406418
VERSIONING_SYSTEM = "apple-generic";
@@ -425,6 +437,8 @@
425437
PRODUCT_BUNDLE_IDENTIFIER = io.radex.SwiftyTimer;
426438
PRODUCT_NAME = "$(TARGET_NAME)";
427439
SKIP_INSTALL = YES;
440+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
441+
SWIFT_VERSION = 4.0;
428442
};
429443
name = Debug;
430444
};
@@ -445,6 +459,8 @@
445459
PRODUCT_BUNDLE_IDENTIFIER = io.radex.SwiftyTimer;
446460
PRODUCT_NAME = "$(TARGET_NAME)";
447461
SKIP_INSTALL = YES;
462+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
463+
SWIFT_VERSION = 4.0;
448464
};
449465
name = Release;
450466
};

SwiftyTimer.xcodeproj/xcshareddata/xcschemes/SwiftyTimer OS X.xcscheme

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -36,6 +37,7 @@
3637
buildConfiguration = "Debug"
3738
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3839
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40+
language = ""
3941
launchStyle = "0"
4042
useCustomWorkingDirectory = "NO"
4143
ignoresPersistentStateOnLaunch = "NO"

SwiftyTimer.xcodeproj/xcshareddata/xcschemes/SwiftyTimer tvOS.xcscheme

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -36,6 +37,7 @@
3637
buildConfiguration = "Debug"
3738
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3839
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40+
language = ""
3941
launchStyle = "0"
4042
useCustomWorkingDirectory = "NO"
4143
ignoresPersistentStateOnLaunch = "NO"

SwiftyTimer.xcodeproj/xcshareddata/xcschemes/SwiftyTimer watchOS.xcscheme

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -36,6 +37,7 @@
3637
buildConfiguration = "Debug"
3738
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3839
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40+
language = ""
3941
launchStyle = "0"
4042
useCustomWorkingDirectory = "NO"
4143
ignoresPersistentStateOnLaunch = "NO"

SwiftyTimer.xcodeproj/xcshareddata/xcschemes/SwiftyTimer.xcscheme

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -36,6 +37,7 @@
3637
buildConfiguration = "Debug"
3738
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3839
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40+
language = ""
3941
launchStyle = "0"
4042
useCustomWorkingDirectory = "NO"
4143
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)