Skip to content

Commit 4612a30

Browse files
committed
chore: Update to Xcode project defaults
1 parent e5745f9 commit 4612a30

File tree

5 files changed

+27
-7
lines changed

5 files changed

+27
-7
lines changed

JWT.xcodeproj/project.pbxproj

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
attributes = {
351351
LastSwiftMigration = 0700;
352352
LastSwiftUpdateCheck = 0700;
353-
LastUpgradeCheck = 0800;
353+
LastUpgradeCheck = 0910;
354354
ORGANIZATIONNAME = Cocode;
355355
TargetAttributes = {
356356
279D639B1AD07FFF0024E2BC = {
@@ -512,14 +512,20 @@
512512
CLANG_CXX_LIBRARY = "libc++";
513513
CLANG_ENABLE_MODULES = YES;
514514
CLANG_ENABLE_OBJC_ARC = YES;
515+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
515516
CLANG_WARN_BOOL_CONVERSION = YES;
517+
CLANG_WARN_COMMA = YES;
516518
CLANG_WARN_CONSTANT_CONVERSION = YES;
517519
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
518520
CLANG_WARN_EMPTY_BODY = YES;
519521
CLANG_WARN_ENUM_CONVERSION = YES;
520522
CLANG_WARN_INFINITE_RECURSION = YES;
521523
CLANG_WARN_INT_CONVERSION = YES;
524+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
525+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
522526
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
527+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
528+
CLANG_WARN_STRICT_PROTOTYPES = YES;
523529
CLANG_WARN_SUSPICIOUS_MOVE = YES;
524530
CLANG_WARN_UNREACHABLE_CODE = YES;
525531
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -549,7 +555,7 @@
549555
SDKROOT = macosx;
550556
SWIFT_INCLUDE_PATHS = "$(SRCROOT)";
551557
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
552-
SWIFT_VERSION = 3.0;
558+
SWIFT_VERSION = 4.0;
553559
VERSIONING_SYSTEM = "apple-generic";
554560
VERSION_INFO_PREFIX = "";
555561
};
@@ -563,14 +569,20 @@
563569
CLANG_CXX_LIBRARY = "libc++";
564570
CLANG_ENABLE_MODULES = YES;
565571
CLANG_ENABLE_OBJC_ARC = YES;
572+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
566573
CLANG_WARN_BOOL_CONVERSION = YES;
574+
CLANG_WARN_COMMA = YES;
567575
CLANG_WARN_CONSTANT_CONVERSION = YES;
568576
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
569577
CLANG_WARN_EMPTY_BODY = YES;
570578
CLANG_WARN_ENUM_CONVERSION = YES;
571579
CLANG_WARN_INFINITE_RECURSION = YES;
572580
CLANG_WARN_INT_CONVERSION = YES;
581+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
582+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
573583
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
584+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
585+
CLANG_WARN_STRICT_PROTOTYPES = YES;
574586
CLANG_WARN_SUSPICIOUS_MOVE = YES;
575587
CLANG_WARN_UNREACHABLE_CODE = YES;
576588
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -593,7 +605,7 @@
593605
SDKROOT = macosx;
594606
SWIFT_INCLUDE_PATHS = "$(SRCROOT)";
595607
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
596-
SWIFT_VERSION = 3.0;
608+
SWIFT_VERSION = 4.0;
597609
VERSIONING_SYSTEM = "apple-generic";
598610
VERSION_INFO_PREFIX = "";
599611
};

JWT.xcodeproj/xcshareddata/xcschemes/JWT-OSX.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"
@@ -40,6 +40,7 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
language = ""
4344
shouldUseLaunchSchemeArgsEnv = "YES">
4445
<Testables>
4546
<TestableReference
@@ -69,6 +70,7 @@
6970
buildConfiguration = "Debug"
7071
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7172
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
73+
language = ""
7274
launchStyle = "0"
7375
useCustomWorkingDirectory = "NO"
7476
ignoresPersistentStateOnLaunch = "NO"

JWT.xcodeproj/xcshareddata/xcschemes/JWT-iOS.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"

JWT.xcodeproj/xcshareddata/xcschemes/JWT-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"

JWT.xcodeproj/xcshareddata/xcschemes/JWT-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"

0 commit comments

Comments
 (0)