The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PushNotifications with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/push-notifications-swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/pusher/push-notifications-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 441a6de Merge pull request #184 from pusher/get-user
Cloned https://github.com/pusher/push-notifications-swift.git
Revision (git rev-parse @):
441a6dede9a1a59f01ae4dd85b4ee3fbc9730ba4
SUCCESS checkout https://github.com/pusher/push-notifications-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pusher/push-notifications-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
[390/1361] Fetching cwlcatchexception, swiftytexttable
[703/2597] Fetching cwlcatchexception, swiftytexttable, cwlpreconditiontesting
[774/10292] Fetching cwlcatchexception, swiftytexttable, cwlpreconditiontesting, ohhttpstubs
[5061/26147] Fetching cwlcatchexception, swiftytexttable, cwlpreconditiontesting, ohhttpstubs, sourcekitten
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.26s)
[5607/25218] Fetching cwlcatchexception, cwlpreconditiontesting, ohhttpstubs, sourcekitten
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.43s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[9755/17523] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten
[12927/26352] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, yams
[18656/29118] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, yams, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.35s)
Fetching https://github.com/Quick/Nimble
[24057/26352] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, yams
[26353/151580] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, yams, swiftlint
Fetched https://github.com/jpsim/Yams.git from cache (1.01s)
Fetching https://github.com/apple/swift-argument-parser.git
[23785/142751] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, swiftlint
[27543/160042] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, swiftlint, nimble
[45741/171468] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, swiftlint, nimble, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.77s)
[48369/160042] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, swiftlint, nimble
Fetched https://github.com/Quick/Nimble from cache (1.49s)
[32551/142751] Fetching cwlcatchexception, cwlpreconditiontesting, sourcekitten, swiftlint
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (21.02s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (21.02s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (21.07s)
Fetched https://github.com/realm/SwiftLint from cache (21.96s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.43.1 (5.25s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12556] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.40s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.49s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.0 (0.43s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.23s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.40s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (0.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.46s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.48s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.52s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.56s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.0.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.43.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/41] Emitting module PushNotifications
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
[4/46] Compiling PushNotifications AuthData.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[5/46] Compiling PushNotifications Constants.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[6/46] Compiling PushNotifications Device.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[7/46] Compiling PushNotifications FeatureFlags.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[8/46] Compiling PushNotifications HTTPMethod.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[9/46] Compiling PushNotifications InstanceId.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[10/46] Compiling PushNotifications EventTypeHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[11/46] Compiling PushNotifications NetworkService.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[12/46] Compiling PushNotifications ServerSyncEventHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[13/46] Compiling PushNotifications ServerSyncJobStore.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[14/46] Compiling PushNotifications ServerSyncProcessHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[15/46] Compiling PushNotifications TokenProvider.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[16/46] Compiling PushNotifications PushNotifications.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[17/46] Compiling PushNotifications PushNotificationsStatic.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[18/46] Compiling PushNotifications BeamsTokenProvider.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[19/46] Compiling PushNotifications DeviceStateStore.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[20/46] Compiling PushNotifications Token.swift
[21/46] Compiling PushNotifications PropertyListReadable.swift
[22/46] Compiling PushNotifications PushNotificationsNetworkable.swift
[23/46] Compiling PushNotifications ReportEventType.swift
[24/46] Compiling PushNotifications RetryStrategy.swift
[25/46] Compiling PushNotifications PushNotificationsAPIError.swift
[26/46] Compiling PushNotifications PushNotificationsError.swift
[27/46] Compiling PushNotifications PusherAlreadyRegisteredError.swift
[28/46] Compiling PushNotifications Reason.swift
[29/46] Compiling PushNotifications Register.swift
[30/46] Compiling PushNotifications Array+CalculateMD5Hash.swift
[31/46] Compiling PushNotifications Encodable+Encode.swift
[32/46] Compiling PushNotifications String+HexStringToData.swift
[33/46] Compiling PushNotifications URL+NetworkService.swift
[34/46] Compiling PushNotifications DeviceTokenHelper.swift
[35/46] Compiling PushNotifications MD5.swift
[36/46] Compiling PushNotifications RemoteNotificationType.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[37/46] Compiling PushNotifications SDK.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[38/46] Compiling PushNotifications ServerSyncEvent.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[39/46] Compiling PushNotifications ServerSyncJob.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[40/46] Compiling PushNotifications SystemVersion.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[41/46] Compiling PushNotifications InterestValidationError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[42/46] Compiling PushNotifications Interests.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[43/46] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[44/46] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[45/46] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[46/46] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/26] Emitting module PushNotifications
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
[3/29] Compiling PushNotifications ServerSyncJob.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[4/29] Compiling PushNotifications SystemVersion.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[5/29] Compiling PushNotifications TokenProvider.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[6/29] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[7/29] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[8/29] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[9/29] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[10/29] Compiling PushNotifications RemoteNotificationType.swift
[11/29] Compiling PushNotifications SDK.swift
[12/29] Compiling PushNotifications ServerSyncEvent.swift
[13/29] Compiling PushNotifications HTTPMethod.swift
[14/29] Compiling PushNotifications InstanceId.swift
[15/29] Compiling PushNotifications InterestValidationError.swift
[16/29] Compiling PushNotifications Interests.swift
[17/29] Compiling PushNotifications PushNotifications.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[18/29] Compiling PushNotifications PushNotificationsStatic.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[19/29] Compiling PushNotifications BeamsTokenProvider.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:162:6: error: Objective-C interoperability is disabled
    @objc public func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:168:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:179:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:208:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:230:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:244:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:270:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:295:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:312:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:322:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:345:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:364:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:351:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:116:6: error: Objective-C interoperability is disabled
    @objc public static func getUserId() -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:130:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:152:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:174:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:205:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:224:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:242:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:252:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:266:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:281:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:297:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:298:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[20/29] Compiling PushNotifications DeviceStateStore.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[21/29] Compiling PushNotifications EventTypeHandler.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[22/29] Compiling PushNotifications NetworkService.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:287:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:288:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[23/29] Compiling PushNotifications AuthData.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[24/29] Compiling PushNotifications Constants.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[25/29] Compiling PushNotifications Device.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[26/29] Compiling PushNotifications FeatureFlags.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[27/29] Compiling PushNotifications ServerSyncEventHandler.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[28/29] Compiling PushNotifications ServerSyncJobStore.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[29/29] Compiling PushNotifications ServerSyncProcessHandler.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1