Skip to content

Commit 14334e0

Browse files
committed
Fixes for Xcode 12 Beta 5
1 parent 17429fd commit 14334e0

13 files changed

+21
-45
lines changed

XCode/Sources/HttpResponse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public enum HttpResponse {
8585
case movedTemporarily(String)
8686
case badRequest(HttpResponseBody?), unauthorized, forbidden, notFound
8787
case internalServerError
88-
case raw(Int, String, [String:String]?, ((HttpResponseBodyWriter) throws -> Void)? )
88+
case raw(Int, String, [String: String]?, ((HttpResponseBodyWriter) throws -> Void)? )
8989

9090
public var statusCode: Int {
9191
switch self {

XCode/Sources/HttpServerIO.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ open class HttpServerIO {
130130
}
131131
} catch {
132132
print("Failed to send response: \(error)")
133-
break
134133
}
135134
if let session = response.socketSession() {
136135
delegate?.socketConnectionReceived(socket)

XCode/Swifter.xcodeproj/project.pbxproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@
629629
isa = PBXProject;
630630
attributes = {
631631
LastSwiftUpdateCheck = 1010;
632-
LastUpgradeCheck = 1110;
632+
LastUpgradeCheck = 1200;
633633
ORGANIZATIONNAME = "Damian Kołakowski";
634634
TargetAttributes = {
635635
043660C121FED34100497989 = {
@@ -1143,7 +1143,7 @@
11431143
GCC_NO_COMMON_BLOCKS = YES;
11441144
INFOPLIST_FILE = SwifteriOS/Info.plist;
11451145
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1146-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1146+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
11471147
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
11481148
MTL_ENABLE_DEBUG_INFO = YES;
11491149
PRODUCT_BUNDLE_IDENTIFIER = pl.kolakowski.SwifteriOS;
@@ -1170,7 +1170,7 @@
11701170
GCC_NO_COMMON_BLOCKS = YES;
11711171
INFOPLIST_FILE = SwifteriOS/Info.plist;
11721172
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1173-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1173+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
11741174
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
11751175
MTL_ENABLE_DEBUG_INFO = NO;
11761176
PRODUCT_BUNDLE_IDENTIFIER = pl.kolakowski.SwifteriOS;
@@ -1263,6 +1263,7 @@
12631263
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
12641264
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
12651265
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1266+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
12661267
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
12671268
CLANG_WARN_STRICT_PROTOTYPES = YES;
12681269
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -1288,7 +1289,7 @@
12881289
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
12891290
GCC_WARN_UNUSED_FUNCTION = YES;
12901291
GCC_WARN_UNUSED_VARIABLE = YES;
1291-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1292+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
12921293
MACOSX_DEPLOYMENT_TARGET = 10.10;
12931294
METAL_ENABLE_DEBUG_INFO = YES;
12941295
ONLY_ACTIVE_ARCH = YES;
@@ -1325,6 +1326,7 @@
13251326
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
13261327
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
13271328
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1329+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
13281330
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
13291331
CLANG_WARN_STRICT_PROTOTYPES = YES;
13301332
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -1343,7 +1345,7 @@
13431345
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
13441346
GCC_WARN_UNUSED_FUNCTION = YES;
13451347
GCC_WARN_UNUSED_VARIABLE = YES;
1346-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1348+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
13471349
MACOSX_DEPLOYMENT_TARGET = 10.10;
13481350
METAL_ENABLE_DEBUG_INFO = NO;
13491351
ONLY_ACTIVE_ARCH = NO;

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwifterMac.xcscheme

Lines changed: 1 addition & 10 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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,15 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<MacroExpansion>
31-
<BuildableReference
32-
BuildableIdentifier = "primary"
33-
BlueprintIdentifier = "7AE893FA1C0512C400A29F63"
34-
BuildableName = "Swifter.framework"
35-
BlueprintName = "SwifterMac"
36-
ReferencedContainer = "container:Swifter.xcodeproj">
37-
</BuildableReference>
38-
</MacroExpansion>
3930
<Testables>
4031
<TestableReference
4132
skipped = "NO">

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwifterSampleOSX.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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwifteriOS.xcscheme

Lines changed: 1 addition & 10 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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,15 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<MacroExpansion>
31-
<BuildableReference
32-
BuildableIdentifier = "primary"
33-
BlueprintIdentifier = "7AE893E61C05127900A29F63"
34-
BuildableName = "Swifter.framework"
35-
BlueprintName = "SwifteriOS"
36-
ReferencedContainer = "container:Swifter.xcodeproj">
37-
</BuildableReference>
38-
</MacroExpansion>
3930
<Testables>
4031
<TestableReference
4132
skipped = "NO">

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwifteriOSTests.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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwiftermacOSTests.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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwiftertvOS.xcscheme

Lines changed: 1 addition & 10 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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,15 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<MacroExpansion>
31-
<BuildableReference
32-
BuildableIdentifier = "primary"
33-
BlueprintIdentifier = "269B47861D3AAAE20042D137"
34-
BuildableName = "Swifter.framework"
35-
BlueprintName = "SwiftertvOS"
36-
ReferencedContainer = "container:Swifter.xcodeproj">
37-
</BuildableReference>
38-
</MacroExpansion>
3930
<Testables>
4031
<TestableReference
4132
skipped = "NO">

XCode/Swifter.xcodeproj/xcshareddata/xcschemes/SwiftertvOSTests.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 = "1110"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)