Skip to content

Commit 6726fba

Browse files
authored
Xcode 12 bare minimum (#713)
* Xcode 12: Update to clang-format 11.0.0 * Xcode 12: Silence upgrade warnings * Xcode 12: Requires iOS 9 minimum * Xcode 12: Disable implicit ASi build
1 parent c28c126 commit 6726fba

File tree

12 files changed

+39
-45
lines changed

12 files changed

+39
-45
lines changed

GitUp/GitUp.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
E2C338A319F8562F00063D95 /* Project object */ = {
393393
isa = PBXProject;
394394
attributes = {
395-
LastUpgradeCheck = 1020;
395+
LastUpgradeCheck = 1220;
396396
ORGANIZATIONNAME = "";
397397
TargetAttributes = {
398398
E21DCAE71B253847006424E8 = {

GitUp/GitUp.xcodeproj/xcshareddata/xcschemes/Application.xcscheme

Lines changed: 1 addition & 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 = "1020"
3+
LastUpgradeVersion = "1220"
44
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"

GitUp/GitUp.xcodeproj/xcshareddata/xcschemes/Tool.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 = "1220"
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:GitUp.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:GitUp.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

GitUpKit/Core/GCPrivate.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ - (BOOL)_runWithDefaultInterpreter:(BOOL)useSH arguments:(NSArray*)arguments std
171171
return success;
172172
}
173173

174-
175174
- (BOOL)runWithArguments:(NSArray*)arguments stdin:(NSData*)stdin stdout:(NSData**)stdout stderr:(NSData**)stderr exitStatus:(int*)exitStatus error:(NSError**)error {
176175
return [self _runWithDefaultInterpreter:NO arguments:arguments stdin:stdin stdout:stdout stderr:stderr exitStatus:exitStatus error:error] || (self.fallBackToDefaultInterpreter && [self _runWithDefaultInterpreter:YES arguments:arguments stdin:stdin stdout:stdout stderr:stderr exitStatus:exitStatus error:error]);
177176
}

GitUpKit/GitUpKit.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@
12831283
E2C338A319F8562F00063D95 /* Project object */ = {
12841284
isa = PBXProject;
12851285
attributes = {
1286-
LastUpgradeCheck = 1020;
1286+
LastUpgradeCheck = 1220;
12871287
ORGANIZATIONNAME = "";
12881288
TargetAttributes = {
12891289
E217531A1B91613300BE234A = {

GitUpKit/GitUpKit.xcodeproj/xcshareddata/xcschemes/GitUpKit (OSX).xcscheme

Lines changed: 10 additions & 12 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 = "1220"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,8 +26,15 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
enableAddressSanitizer = "YES"
30-
shouldUseLaunchSchemeArgsEnv = "NO">
29+
shouldUseLaunchSchemeArgsEnv = "NO"
30+
enableAddressSanitizer = "YES">
31+
<AdditionalOptions>
32+
<AdditionalOption
33+
key = "NSZombieEnabled"
34+
value = "YES"
35+
isEnabled = "YES">
36+
</AdditionalOption>
37+
</AdditionalOptions>
3138
<Testables>
3239
<TestableReference
3340
skipped = "NO">
@@ -40,13 +47,6 @@
4047
</BuildableReference>
4148
</TestableReference>
4249
</Testables>
43-
<AdditionalOptions>
44-
<AdditionalOption
45-
key = "NSZombieEnabled"
46-
value = "YES"
47-
isEnabled = "YES">
48-
</AdditionalOption>
49-
</AdditionalOptions>
5050
</TestAction>
5151
<LaunchAction
5252
buildConfiguration = "Debug"
@@ -67,8 +67,6 @@
6767
ReferencedContainer = "container:GitUpKit.xcodeproj">
6868
</BuildableReference>
6969
</MacroExpansion>
70-
<AdditionalOptions>
71-
</AdditionalOptions>
7270
</LaunchAction>
7371
<ProfileAction
7472
buildConfiguration = "Release"

GitUpKit/GitUpKit.xcodeproj/xcshareddata/xcschemes/GitUpKit (iOS).xcscheme

Lines changed: 1 addition & 5 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 = "1220"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -51,8 +49,6 @@
5149
ReferencedContainer = "container:GitUpKit.xcodeproj">
5250
</BuildableReference>
5351
</MacroExpansion>
54-
<AdditionalOptions>
55-
</AdditionalOptions>
5652
</LaunchAction>
5753
<ProfileAction
5854
buildConfiguration = "Release"

GitUpKit/Third-Party/libgit2.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@
11491149
E217485D1B911B5200BE234A /* Project object */ = {
11501150
isa = PBXProject;
11511151
attributes = {
1152-
LastUpgradeCheck = 1020;
1152+
LastUpgradeCheck = 1220;
11531153
ORGANIZATIONNAME = "";
11541154
TargetAttributes = {
11551155
E2174BD41B91240400BE234A = {
@@ -1522,6 +1522,7 @@
15221522
"-Wno-incompatible-pointer-types",
15231523
"-Wno-shorten-64-to-32",
15241524
"-Wno-format",
1525+
"-Wno-bool-operation",
15251526
);
15261527
};
15271528
name = Debug;
@@ -1569,6 +1570,7 @@
15691570
"-Wno-incompatible-pointer-types",
15701571
"-Wno-shorten-64-to-32",
15711572
"-Wno-format",
1573+
"-Wno-bool-operation",
15721574
);
15731575
};
15741576
name = Release;

GitUpKit/Third-Party/libgit2.xcodeproj/xcshareddata/xcschemes/libgit2 (OSX).xcscheme

Lines changed: 1 addition & 5 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 = "1220"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -42,8 +40,6 @@
4240
debugDocumentVersioning = "YES"
4341
debugServiceExtension = "internal"
4442
allowLocationSimulation = "YES">
45-
<AdditionalOptions>
46-
</AdditionalOptions>
4743
</LaunchAction>
4844
<ProfileAction
4945
buildConfiguration = "Release"

GitUpKit/Third-Party/libgit2.xcodeproj/xcshareddata/xcschemes/libgit2 (iOS).xcscheme

Lines changed: 10 additions & 5 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 = "1220"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -42,15 +40,22 @@
4240
debugDocumentVersioning = "YES"
4341
debugServiceExtension = "internal"
4442
allowLocationSimulation = "YES">
45-
<AdditionalOptions>
46-
</AdditionalOptions>
4743
</LaunchAction>
4844
<ProfileAction
4945
buildConfiguration = "Release"
5046
shouldUseLaunchSchemeArgsEnv = "YES"
5147
savedToolIdentifier = ""
5248
useCustomWorkingDirectory = "NO"
5349
debugDocumentVersioning = "YES">
50+
<MacroExpansion>
51+
<BuildableReference
52+
BuildableIdentifier = "primary"
53+
BlueprintIdentifier = "E2174C5D1B9125C500BE234A"
54+
BuildableName = "libgit2.a"
55+
BlueprintName = "libgit2 (iOS)"
56+
ReferencedContainer = "container:libgit2.xcodeproj">
57+
</BuildableReference>
58+
</MacroExpansion>
5459
</ProfileAction>
5560
<AnalyzeAction
5661
buildConfiguration = "Debug">

0 commit comments

Comments
 (0)