Skip to content

Commit 4d76118

Browse files
committed
Update project settings
1 parent 1b31768 commit 4d76118

File tree

3 files changed

+70
-23
lines changed

3 files changed

+70
-23
lines changed

Git.xcodeproj/project.pbxproj

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@
695695
isa = PBXProject;
696696
attributes = {
697697
LastSwiftUpdateCheck = 1020;
698-
LastUpgradeCheck = 1020;
698+
LastUpgradeCheck = 1150;
699699
TargetAttributes = {
700700
20F6E092225C72A100418216 = {
701701
CreatedOnToolsVersion = 10.2;
@@ -988,11 +988,38 @@
988988
isa = XCBuildConfiguration;
989989
buildSettings = {
990990
CLANG_ENABLE_MODULES = YES;
991+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
992+
CLANG_WARN_BOOL_CONVERSION = YES;
993+
CLANG_WARN_COMMA = YES;
994+
CLANG_WARN_CONSTANT_CONVERSION = YES;
995+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
996+
CLANG_WARN_EMPTY_BODY = YES;
997+
CLANG_WARN_ENUM_CONVERSION = YES;
998+
CLANG_WARN_INFINITE_RECURSION = YES;
999+
CLANG_WARN_INT_CONVERSION = YES;
1000+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1001+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1002+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1003+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1004+
CLANG_WARN_STRICT_PROTOTYPES = YES;
1005+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
1006+
CLANG_WARN_UNREACHABLE_CODE = YES;
1007+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
9911008
DEBUG_INFORMATION_FORMAT = dwarf;
9921009
ENABLE_BITCODE = YES;
1010+
ENABLE_STRICT_OBJC_MSGSEND = YES;
1011+
ENABLE_TESTABILITY = YES;
1012+
GCC_NO_COMMON_BLOCKS = YES;
9931013
GCC_OPTIMIZATION_LEVEL = 0;
1014+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1015+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
1016+
GCC_WARN_UNDECLARED_SELECTOR = YES;
1017+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
1018+
GCC_WARN_UNUSED_FUNCTION = YES;
1019+
GCC_WARN_UNUSED_VARIABLE = YES;
9941020
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
9951021
MACOSX_DEPLOYMENT_TARGET = 10.11;
1022+
ONLY_ACTIVE_ARCH = YES;
9961023
PRODUCT_NAME = Git;
9971024
SWIFT_INSTALL_OBJC_HEADER = NO;
9981025
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -1004,12 +1031,38 @@
10041031
isa = XCBuildConfiguration;
10051032
buildSettings = {
10061033
CLANG_ENABLE_MODULES = YES;
1007-
DEBUG_INFORMATION_FORMAT = dwarf;
1034+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1035+
CLANG_WARN_BOOL_CONVERSION = YES;
1036+
CLANG_WARN_COMMA = YES;
1037+
CLANG_WARN_CONSTANT_CONVERSION = YES;
1038+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1039+
CLANG_WARN_EMPTY_BODY = YES;
1040+
CLANG_WARN_ENUM_CONVERSION = YES;
1041+
CLANG_WARN_INFINITE_RECURSION = YES;
1042+
CLANG_WARN_INT_CONVERSION = YES;
1043+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1044+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1045+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1046+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1047+
CLANG_WARN_STRICT_PROTOTYPES = YES;
1048+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
1049+
CLANG_WARN_UNREACHABLE_CODE = YES;
1050+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1051+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
10081052
ENABLE_BITCODE = YES;
1053+
ENABLE_STRICT_OBJC_MSGSEND = YES;
1054+
GCC_NO_COMMON_BLOCKS = YES;
10091055
GCC_OPTIMIZATION_LEVEL = 3;
1056+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1057+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
1058+
GCC_WARN_UNDECLARED_SELECTOR = YES;
1059+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
1060+
GCC_WARN_UNUSED_FUNCTION = YES;
1061+
GCC_WARN_UNUSED_VARIABLE = YES;
10101062
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
10111063
MACOSX_DEPLOYMENT_TARGET = 10.11;
10121064
PRODUCT_NAME = Git;
1065+
SWIFT_COMPILATION_MODE = wholemodule;
10131066
SWIFT_INSTALL_OBJC_HEADER = NO;
10141067
SWIFT_VERSION = 5.0;
10151068
};
@@ -1410,6 +1463,7 @@
14101463
COMBINE_HIDPI_IMAGES = YES;
14111464
COPY_PHASE_STRIP = NO;
14121465
DEVELOPMENT_TEAM = 7AMWG3RLHN;
1466+
ENABLE_HARDENED_RUNTIME = YES;
14131467
ENABLE_STRICT_OBJC_MSGSEND = YES;
14141468
ENABLE_TESTABILITY = YES;
14151469
GCC_C_LANGUAGE_STANDARD = gnu11;
@@ -1478,6 +1532,7 @@
14781532
COMBINE_HIDPI_IMAGES = YES;
14791533
COPY_PHASE_STRIP = NO;
14801534
DEVELOPMENT_TEAM = 7AMWG3RLHN;
1535+
ENABLE_HARDENED_RUNTIME = YES;
14811536
ENABLE_NS_ASSERTIONS = NO;
14821537
ENABLE_STRICT_OBJC_MSGSEND = YES;
14831538
GCC_C_LANGUAGE_STANDARD = gnu11;

Git.xcodeproj/xcshareddata/xcschemes/Mac.xcscheme

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1150"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "20F6E0BA225C732200418216"
34+
BuildableName = "Git.app"
35+
BlueprintName = "MacApp"
36+
ReferencedContainer = "container:Git.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO"
@@ -40,17 +49,6 @@
4049
</BuildableReference>
4150
</TestableReference>
4251
</Testables>
43-
<MacroExpansion>
44-
<BuildableReference
45-
BuildableIdentifier = "primary"
46-
BlueprintIdentifier = "20F6E0BA225C732200418216"
47-
BuildableName = "Git.app"
48-
BlueprintName = "MacApp"
49-
ReferencedContainer = "container:Git.xcodeproj">
50-
</BuildableReference>
51-
</MacroExpansion>
52-
<AdditionalOptions>
53-
</AdditionalOptions>
5452
</TestAction>
5553
<LaunchAction
5654
buildConfiguration = "Debug"
@@ -72,8 +70,6 @@
7270
ReferencedContainer = "container:Git.xcodeproj">
7371
</BuildableReference>
7472
</BuildableProductRunnable>
75-
<AdditionalOptions>
76-
</AdditionalOptions>
7773
</LaunchAction>
7874
<ProfileAction
7975
buildConfiguration = "Release"

Git.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1150"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,8 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
</Testables>
3230
<MacroExpansion>
3331
<BuildableReference
3432
BuildableIdentifier = "primary"
@@ -38,8 +36,8 @@
3836
ReferencedContainer = "container:Git.xcodeproj">
3937
</BuildableReference>
4038
</MacroExpansion>
41-
<AdditionalOptions>
42-
</AdditionalOptions>
39+
<Testables>
40+
</Testables>
4341
</TestAction>
4442
<LaunchAction
4543
buildConfiguration = "Debug"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:Git.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

0 commit comments

Comments
 (0)