Skip to content

Commit 5575760

Browse files
committed
Merge branch 'develop'
2 parents cc7e3f9 + f53d578 commit 5575760

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

netfox.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@
647647
GCC_WARN_UNUSED_FUNCTION = YES;
648648
GCC_WARN_UNUSED_VARIABLE = YES;
649649
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
650+
MACOSX_DEPLOYMENT_TARGET = 10.11;
650651
MTL_ENABLE_DEBUG_INFO = YES;
651652
ONLY_ACTIVE_ARCH = YES;
652653
SDKROOT = iphoneos;
@@ -701,6 +702,7 @@
701702
GCC_WARN_UNUSED_FUNCTION = YES;
702703
GCC_WARN_UNUSED_VARIABLE = YES;
703704
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
705+
MACOSX_DEPLOYMENT_TARGET = 10.11;
704706
MTL_ENABLE_DEBUG_INFO = NO;
705707
SDKROOT = iphoneos;
706708
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";

netfox/Core/NFXProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ open class NFXProtocol: URLProtocol {
2424
}
2525

2626
override open class func canInit(with task: URLSessionTask) -> Bool {
27-
if #available(iOS 13.0, *) {
27+
if #available(iOS 13.0, macOS 10.15, *) {
2828
if task is URLSessionWebSocketTask {
2929
return false
3030
}

0 commit comments

Comments
 (0)