Skip to content

Commit 3b0abb9

Browse files
committed
Swift 4.0
1 parent 77325e6 commit 3b0abb9

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

SwiftyTimer.xcodeproj/project.pbxproj

Lines changed: 20 additions & 2 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 = 0910;
209209
ORGANIZATIONNAME = "Radosław Pietruszewski";
210210
TargetAttributes = {
211211
3E721ABA1BF7255D008AF027 = {
212212
CreatedOnToolsVersion = 7.1;
213-
LastSwiftMigration = 0800;
213+
LastSwiftMigration = 0910;
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,6 +361,7 @@
355361
ONLY_ACTIVE_ARCH = YES;
356362
SDKROOT = iphoneos;
357363
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
364+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
358365
SWIFT_VERSION = 3.0;
359366
TARGETED_DEVICE_FAMILY = "1,2";
360367
VERSIONING_SYSTEM = "apple-generic";
@@ -370,14 +377,20 @@
370377
CLANG_CXX_LIBRARY = "libc++";
371378
CLANG_ENABLE_MODULES = YES;
372379
CLANG_ENABLE_OBJC_ARC = YES;
380+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
373381
CLANG_WARN_BOOL_CONVERSION = YES;
382+
CLANG_WARN_COMMA = YES;
374383
CLANG_WARN_CONSTANT_CONVERSION = YES;
375384
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
376385
CLANG_WARN_EMPTY_BODY = YES;
377386
CLANG_WARN_ENUM_CONVERSION = YES;
378387
CLANG_WARN_INFINITE_RECURSION = YES;
379388
CLANG_WARN_INT_CONVERSION = YES;
389+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
390+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
380391
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
392+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
393+
CLANG_WARN_STRICT_PROTOTYPES = YES;
381394
CLANG_WARN_SUSPICIOUS_MOVE = YES;
382395
CLANG_WARN_UNREACHABLE_CODE = YES;
383396
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -400,6 +413,7 @@
400413
MTL_ENABLE_DEBUG_INFO = NO;
401414
SDKROOT = iphoneos;
402415
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
416+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
403417
SWIFT_VERSION = 3.0;
404418
TARGETED_DEVICE_FAMILY = "1,2";
405419
VALIDATE_PRODUCT = YES;
@@ -425,6 +439,8 @@
425439
PRODUCT_BUNDLE_IDENTIFIER = io.radex.SwiftyTimer;
426440
PRODUCT_NAME = "$(TARGET_NAME)";
427441
SKIP_INSTALL = YES;
442+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
443+
SWIFT_VERSION = 4.0;
428444
};
429445
name = Debug;
430446
};
@@ -445,6 +461,8 @@
445461
PRODUCT_BUNDLE_IDENTIFIER = io.radex.SwiftyTimer;
446462
PRODUCT_NAME = "$(TARGET_NAME)";
447463
SKIP_INSTALL = YES;
464+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
465+
SWIFT_VERSION = 4.0;
448466
};
449467
name = Release;
450468
};

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 = "0910"
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 = "0910"
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 = "0910"
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 = "0910"
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)