This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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.9 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
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.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
[1237/17022] Fetching cwlpreconditiontesting, sourcekitten
[17023/33752] Fetching cwlpreconditiontesting, sourcekitten, nimble
Fetching https://github.com/realm/SwiftLint
Fetched https://github.com/jpsim/SourceKitten.git (1.14s)
[17966/17966] Fetching cwlpreconditiontesting, nimble
[17967/140245] Fetching cwlpreconditiontesting, nimble, swiftlint
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.76s)
Fetching https://github.com/AliSoftware/OHHTTPStubs
[20399/139009] Fetching nimble, swiftlint
Fetched https://github.com/Quick/Nimble (1.78s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[4892/122279] Fetching swiftlint
[11007/129921] Fetching swiftlint, ohhttpstubs
[11848/130850] Fetching swiftlint, ohhttpstubs, swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (0.29s)
Fetching https://github.com/apple/swift-argument-parser.git
[14522/129921] Fetching swiftlint, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs (0.57s)
Fetching https://github.com/jpsim/Yams.git
[12229/133616] Fetching swiftlint, swift-argument-parser
[12910/142430] Fetching swiftlint, swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git (0.96s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[20062/131093] Fetching swiftlint, yams
[22266/131525] Fetching swiftlint, yams, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.31s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[23488/131093] Fetching swiftlint, yams
[23489/133859] Fetching swiftlint, yams, swxmlhash
Fetched https://github.com/jpsim/Yams.git (1.28s)
[17302/125045] Fetching swiftlint, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (0.35s)
[15684/122279] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint (20.76s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.43.1 (0.47s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12524] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (6.30s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (3.78s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.0 (0.50s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.39s)
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.39s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.38s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.40s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.39s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.43.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/39] 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 {
                                                                                    ^~~~~~~~~~
[2/44] 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()
                      ^
[3/44] 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()
                      ^
[4/44] 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()
                      ^
[5/44] 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()
                      ^
[6/44] 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()
                      ^
[7/44] 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: 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 ?? ""
               ~~~~~~~ ^~~~~
[8/44] 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: 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 ?? ""
               ~~~~~~~ ^~~~~
[9/44] 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: 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 ?? ""
               ~~~~~~~ ^~~~~
[10/44] 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: 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 ?? ""
               ~~~~~~~ ^~~~~
[11/44] 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: 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 ?? ""
               ~~~~~~~ ^~~~~
[12/44] Compiling PushNotifications PushNotificationsAPIError.swift
[13/44] Compiling PushNotifications PushNotificationsError.swift
[14/44] Compiling PushNotifications PusherAlreadyRegisteredError.swift
[15/44] Compiling PushNotifications Reason.swift
[16/44] Compiling PushNotifications Register.swift
[17/44] Compiling PushNotifications Array+CalculateMD5Hash.swift
[18/44] Compiling PushNotifications Encodable+Encode.swift
[19/44] Compiling PushNotifications String+HexStringToData.swift
[20/44] Compiling PushNotifications URL+NetworkService.swift
[21/44] Compiling PushNotifications DeviceTokenHelper.swift
[22/44] Compiling PushNotifications MD5.swift
[23/44] 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/44] 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/44] 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/44] 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/44] 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]) {
    ~^~~~~

[28/44] 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]) {
    ~^~~~~

[29/44] Compiling PushNotifications Token.swift
[30/44] Compiling PushNotifications PropertyListReadable.swift
[31/44] Compiling PushNotifications PushNotificationsNetworkable.swift
[32/44] Compiling PushNotifications ReportEventType.swift
[33/44] Compiling PushNotifications RetryStrategy.swift
[34/44] Compiling PushNotifications InterestValidationError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[35/44] Compiling PushNotifications Interests.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[36/44] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[37/44] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[38/44] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[39/44] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[40/44] 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)
                                                ~^~~~~~~~~
[41/44] 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)
                                                ~^~~~~~~~~
[42/44] 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)
                                                ~^~~~~~~~~
[43/44] 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)
                                                ~^~~~~~~~~
[44/44] 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)
                                                ~^~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/25] 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]) {
    ~^~~~~

[2/25] 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]) {
    ~^~~~~

[3/25] 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]) {
    ~^~~~~

[4/25] 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]) {
    ~^~~~~

[5/28] Compiling PushNotifications RemoteNotificationType.swift
[6/28] Compiling PushNotifications SDK.swift
[7/28] Compiling PushNotifications ServerSyncEvent.swift
[8/28] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[9/28] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[10/28] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[11/28] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[12/28] Compiling PushNotifications HTTPMethod.swift
[13/28] Compiling PushNotifications InstanceId.swift
[14/28] Compiling PushNotifications InterestValidationError.swift
[15/28] Compiling PushNotifications Interests.swift
[16/28] 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)
                      ^~~~~~~~~~
[17/28] 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)
                      ^~~~~~~~~~
[18/28] 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)
                      ^~~~~~~~~~
[19/28] 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 {
~^~~~~
[20/28] 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 {
~^~~~~
[21/28] 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 {
~^~~~~
[22/28] 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: 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
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[23/28] 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: 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
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[24/28] 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: 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
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/28] 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 {
                                                                                    ^~~~~~~~~~
[26/28] 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)
                                                ~^~~~~~~~~
[27/28] 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)
                                                ~^~~~~~~~~
[28/28] 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.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.