Skip to content

Commit 440c300

Browse files
Merge pull request #625 from algolia/develop
Exclude CoreTelephony dependent code from Mac Catalyst app
2 parents ef94926 + 8be3c33 commit 440c300

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/AlgoliaSearch-Client/Network.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal protocol URLSession {
4141
// Convince the compiler that NSURLSession does implements our custom protocol.
4242
extension Foundation.URLSession: URLSession {}
4343

44-
#if os(iOS) && DEBUG
44+
#if os(iOS) && DEBUG && !targetEnvironment(macCatalyst)
4545

4646
import CoreTelephony
4747
import SystemConfiguration
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This is generated file. Don't modify it manually.
22
public struct Version {
3-
public static let current = "7.0.2"
3+
public static let current = "7.0.3"
44
}

0 commit comments

Comments
 (0)