Build Information
Failed to build DevCycle, reference v1.24.5 (efe19d), with Swift 6.1 for Linux on 16 Mar 2026 22:38:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DevCycleHQ/ios-client-sdk.git
Reference: v1.24.5
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/DevCycleHQ/ios-client-sdk
* tag v1.24.5 -> FETCH_HEAD
HEAD is now at efe19d0 Release 1.24.5
Cloned https://github.com/DevCycleHQ/ios-client-sdk.git
Revision (git rev-parse @):
efe19d06a48d897d22aa1c5cebaded841057f2ba
SUCCESS checkout https://github.com/DevCycleHQ/ios-client-sdk.git at v1.24.5
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/DevCycleHQ/ios-client-sdk.git
https://github.com/DevCycleHQ/ios-client-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-eventsource",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/LaunchDarkly/swift-eventsource.git"
}
],
"manifest_display_name" : "DevCycle",
"name" : "DevCycle",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "DevCycle",
"targets" : [
"DevCycle"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DevCycleTests_ObjC",
"module_type" : "ClangTarget",
"name" : "DevCycleTests-ObjC",
"path" : "DevCycleTests/ObjC",
"sources" : [
"ObjCDevCycleClientTests.m",
"ObjcDVCVariableTests.m",
"ObjcDevCycleUserTests.m"
],
"target_dependencies" : [
"DevCycle"
],
"type" : "test"
},
{
"c99name" : "DevCycleTests",
"module_type" : "SwiftTarget",
"name" : "DevCycleTests",
"path" : "DevCycleTests",
"sources" : [
"Mocks/URLSessionMock.swift",
"Models/DVCConfigTests.swift",
"Models/DVCVariableTests.swift",
"Models/DevCycleClientTests.swift",
"Models/DevCycleEventTests.swift",
"Models/DevCycleOptionsTest.swift",
"Models/DevCycleUserTest.swift",
"Models/EventQueueTests.swift",
"Models/SSEMessage.swift",
"Models/ThreadingTests.swift",
"Models/UserConfigTests.swift",
"Networking/DevCycleServiceTests.swift",
"Utils/GetTestConfig.swift",
"Utils/IsEqualTests.swift",
"Utils/RequestConsolidatorTests.swift"
],
"target_dependencies" : [
"DevCycle"
],
"type" : "test"
},
{
"c99name" : "DevCycle",
"module_type" : "SwiftTarget",
"name" : "DevCycle",
"path" : "DevCycle",
"product_dependencies" : [
"LDSwiftEventSource"
],
"product_memberships" : [
"DevCycle"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/DevCycle/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DVCVariable.swift",
"DevCycleClient.swift",
"DevCycleUser.swift",
"Models/Cache.swift",
"Models/CustomData.swift",
"Models/DVCConfig.swift",
"Models/DevCycleEvent.swift",
"Models/DevCycleOptions.swift",
"Models/EventQueue.swift",
"Models/PlatformDetails.swift",
"Models/UserConfig.swift",
"Networking/DevCycleService.swift",
"ObjC/ObjCDVCVariable.swift",
"ObjC/ObjCDevCycleClient.swift",
"ObjC/ObjCDevCycleEvent.swift",
"ObjC/ObjCDevCycleOptions.swift",
"ObjC/ObjCDevCycleUser.swift",
"ObjC/ObjCErrors.swift",
"ObjC/ObjCUserConfig.swift",
"SSEConnection.swift",
"Utils/Log.swift",
"Utils/NotificationNames.swift",
"Utils/ProcessConfig.swift",
"Utils/RequestConsolidator.swift",
"Utils/isEqual.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring target 'DevCycleTests-ObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7e70e0a64d2f2fbcaf7a9ded92418bf54647123e95b9450d840f38f11e93f5d2
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
[1/1778] Fetching swift-eventsource
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (0.37s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (0.99s)
Creating working copy for https://github.com/LaunchDarkly/swift-eventsource.git
Working copy of https://github.com/LaunchDarkly/swift-eventsource.git resolved at 3.3.0
warning: 'spi-builder-workspace': ignoring target 'DevCycleTests-ObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling LDSwiftEventSource Logs.swift
[6/10] Compiling LDSwiftEventSource UTF8LineParser.swift
[7/10] Compiling LDSwiftEventSource Types.swift
[8/10] Emitting module LDSwiftEventSource
[9/10] Compiling LDSwiftEventSource LDSwiftEventSource.swift
[10/10] Compiling LDSwiftEventSource EventParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/EventParser.swift:68:22: error: no 'contains' candidates produce the expected type '(Character) throws -> Bool' for parameter #0
66 | eventType = String(value)
67 | case Constants.retryLabel:
68 | if value.allSatisfy(("0"..."9").contains), let reconnectionTime = Int64(value) {
| `- error: no 'contains' candidates produce the expected type '(Character) throws -> Bool' for parameter #0
69 | currentRetry = Double(reconnectionTime) * 0.001
70 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7e70e0a64d2f2fbcaf7a9ded92418bf54647123e95b9450d840f38f11e93f5d2
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'DevCycleTests-ObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/DevCycleTests/Models/test_config_eval_reason.json
/host/spi-builder-workspace/DevCycleTests/Models/test_config.json
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling LDSwiftEventSource Logs.swift
[3/7] Compiling LDSwiftEventSource Types.swift
[4/7] Compiling LDSwiftEventSource UTF8LineParser.swift
[5/7] Emitting module LDSwiftEventSource
[6/7] Compiling LDSwiftEventSource EventParser.swift
[7/7] Compiling LDSwiftEventSource LDSwiftEventSource.swift
[9/32] Compiling DevCycle ObjCDevCycleEvent.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleEvent)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleEvent)
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
| `- error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
12 | @objc var target: String?
| `- error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc var type: String?
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
| `- error: Objective-C interoperability is disabled
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
| `- error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
| `- error: Objective-C interoperability is disabled
16 |
17 | @objc(initializeWithType:)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
17 | @objc(initializeWithType:)
| `- error: Objective-C interoperability is disabled
18 | public static func initialize(type: String) -> ObjCDevCycleEvent {
19 | return self.initialize(type: type, target: nil, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:22:6: error: Objective-C interoperability is disabled
20 | }
21 |
22 | @objc(initializeWithType:target:)
| `- error: Objective-C interoperability is disabled
23 | public static func initialize(type: String, target: String?) -> ObjCDevCycleEvent {
24 | return self.initialize(type: type, target: target, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:27:6: error: Objective-C interoperability is disabled
25 | }
26 |
27 | @objc(initializeWithType:target:value:)
| `- error: Objective-C interoperability is disabled
28 | public static func initialize(type: String, target: String?, value: NSNumber?) -> ObjCDevCycleEvent {
29 | let builder = ObjCDevCycleEvent()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:68:2: error: Objective-C interoperability is disabled
66 |
67 | @available(*, deprecated, message: "Use DevCycleEvent")
68 | @objc(DVCEvent)
| `- error: Objective-C interoperability is disabled
69 | public class ObjCDVCEvent: ObjCDevCycleEvent {}
70 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:8:2: error: Objective-C interoperability is disabled
6 | import Foundation
7 |
8 | @objc(LogLevel)
| `- error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:10:6: error: Objective-C interoperability is disabled
8 | @objc(LogLevel)
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
| `- error: Objective-C interoperability is disabled
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:11:6: error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
| `- error: Objective-C interoperability is disabled
12 | @objc public static let error = NSNumber(2)
13 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:12:6: error: Objective-C interoperability is disabled
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
| `- error: Objective-C interoperability is disabled
13 | }
14 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:15:2: error: Objective-C interoperability is disabled
13 | }
14 |
15 | @objc(DevCycleOptions)
| `- error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:18:6: error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
| `- error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:19:6: error: Objective-C interoperability is disabled
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
| `- error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:21:6: error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
| `- error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:22:6: error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
| `- error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:23:6: error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
| `- error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:24:6: error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
| `- error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:25:6: error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
| `- error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:26:6: error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:27:6: error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
28 | @objc public var apiProxyURL: NSString?
29 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:28:6: error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
| `- error: Objective-C interoperability is disabled
29 |
30 | func buildDevCycleOptions() -> DevCycleOptions {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:101:2: error: Objective-C interoperability is disabled
99 |
100 | @available(*, deprecated, message: "Use DevCycleOptions")
101 | @objc(DVCOptions)
| `- error: Objective-C interoperability is disabled
102 | public class ObjCDVCOptions: ObjCDevCycleOptions {}
103 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:35:52: warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
33 | let interval = eventFlushIntervalMS as? Int {
34 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
35 | } else if let flushEventsIntervalMs = self.flushEventsIntervalMs,
| `- warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
36 | let interval = flushEventsIntervalMs as? Int {
37 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:42:45: warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
40 | if let disableEventLogging = self.disableEventLogging,
41 | let disable = disableEventLogging as? Bool {
42 | optionsBuilder = optionsBuilder.disableEventLogging(disable)
| `- warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
43 | }
44 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:76:39: warning: conditional cast from 'NSString' to 'String' always succeeds
74 |
75 | if let apiProxyURL = self.apiProxyURL,
76 | let proxyURL = apiProxyURL as? String {
| `- warning: conditional cast from 'NSString' to 'String' always succeeds
77 | optionsBuilder = optionsBuilder.apiProxyURL(proxyURL)
78 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleUser)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleUser)
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
| `- error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
| `- error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
| `- error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
14 | @objc public var name: String?
| `- error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
15 | @objc public var language: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
16 | @objc public var country: String?
| `- error: Objective-C interoperability is disabled
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
| `- error: Objective-C interoperability is disabled
18 | @objc public var privateCustomData: [String: Any]?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
| `- error: Objective-C interoperability is disabled
19 |
20 | public override init() {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:24:6: error: Objective-C interoperability is disabled
22 | }
23 |
24 | @objc(initializeWithUserId:)
| `- error: Objective-C interoperability is disabled
25 | public static func initialize(userId: String?) -> ObjCDevCycleUser {
26 | let builder = ObjCDevCycleUser()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:75:2: error: Objective-C interoperability is disabled
73 |
74 | @available(*, deprecated, message: "Use DevCycleUser")
75 | @objc(DVCUser)
| `- error: Objective-C interoperability is disabled
76 | public class ObjCDVCUser: ObjCDevCycleUser {}
77 |
[10/32] Compiling DevCycle ObjCDevCycleOptions.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleEvent)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleEvent)
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
| `- error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
12 | @objc var target: String?
| `- error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc var type: String?
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
| `- error: Objective-C interoperability is disabled
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
| `- error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
| `- error: Objective-C interoperability is disabled
16 |
17 | @objc(initializeWithType:)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
17 | @objc(initializeWithType:)
| `- error: Objective-C interoperability is disabled
18 | public static func initialize(type: String) -> ObjCDevCycleEvent {
19 | return self.initialize(type: type, target: nil, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:22:6: error: Objective-C interoperability is disabled
20 | }
21 |
22 | @objc(initializeWithType:target:)
| `- error: Objective-C interoperability is disabled
23 | public static func initialize(type: String, target: String?) -> ObjCDevCycleEvent {
24 | return self.initialize(type: type, target: target, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:27:6: error: Objective-C interoperability is disabled
25 | }
26 |
27 | @objc(initializeWithType:target:value:)
| `- error: Objective-C interoperability is disabled
28 | public static func initialize(type: String, target: String?, value: NSNumber?) -> ObjCDevCycleEvent {
29 | let builder = ObjCDevCycleEvent()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:68:2: error: Objective-C interoperability is disabled
66 |
67 | @available(*, deprecated, message: "Use DevCycleEvent")
68 | @objc(DVCEvent)
| `- error: Objective-C interoperability is disabled
69 | public class ObjCDVCEvent: ObjCDevCycleEvent {}
70 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:8:2: error: Objective-C interoperability is disabled
6 | import Foundation
7 |
8 | @objc(LogLevel)
| `- error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:10:6: error: Objective-C interoperability is disabled
8 | @objc(LogLevel)
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
| `- error: Objective-C interoperability is disabled
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:11:6: error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
| `- error: Objective-C interoperability is disabled
12 | @objc public static let error = NSNumber(2)
13 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:12:6: error: Objective-C interoperability is disabled
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
| `- error: Objective-C interoperability is disabled
13 | }
14 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:15:2: error: Objective-C interoperability is disabled
13 | }
14 |
15 | @objc(DevCycleOptions)
| `- error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:18:6: error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
| `- error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:19:6: error: Objective-C interoperability is disabled
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
| `- error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:21:6: error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
| `- error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:22:6: error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
| `- error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:23:6: error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
| `- error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:24:6: error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
| `- error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:25:6: error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
| `- error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:26:6: error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:27:6: error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
28 | @objc public var apiProxyURL: NSString?
29 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:28:6: error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
| `- error: Objective-C interoperability is disabled
29 |
30 | func buildDevCycleOptions() -> DevCycleOptions {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:101:2: error: Objective-C interoperability is disabled
99 |
100 | @available(*, deprecated, message: "Use DevCycleOptions")
101 | @objc(DVCOptions)
| `- error: Objective-C interoperability is disabled
102 | public class ObjCDVCOptions: ObjCDevCycleOptions {}
103 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:35:52: warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
33 | let interval = eventFlushIntervalMS as? Int {
34 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
35 | } else if let flushEventsIntervalMs = self.flushEventsIntervalMs,
| `- warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
36 | let interval = flushEventsIntervalMs as? Int {
37 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:42:45: warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
40 | if let disableEventLogging = self.disableEventLogging,
41 | let disable = disableEventLogging as? Bool {
42 | optionsBuilder = optionsBuilder.disableEventLogging(disable)
| `- warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
43 | }
44 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:76:39: warning: conditional cast from 'NSString' to 'String' always succeeds
74 |
75 | if let apiProxyURL = self.apiProxyURL,
76 | let proxyURL = apiProxyURL as? String {
| `- warning: conditional cast from 'NSString' to 'String' always succeeds
77 | optionsBuilder = optionsBuilder.apiProxyURL(proxyURL)
78 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleUser)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleUser)
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
| `- error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
| `- error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
| `- error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
14 | @objc public var name: String?
| `- error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
15 | @objc public var language: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
16 | @objc public var country: String?
| `- error: Objective-C interoperability is disabled
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
| `- error: Objective-C interoperability is disabled
18 | @objc public var privateCustomData: [String: Any]?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
| `- error: Objective-C interoperability is disabled
19 |
20 | public override init() {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:24:6: error: Objective-C interoperability is disabled
22 | }
23 |
24 | @objc(initializeWithUserId:)
| `- error: Objective-C interoperability is disabled
25 | public static func initialize(userId: String?) -> ObjCDevCycleUser {
26 | let builder = ObjCDevCycleUser()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:75:2: error: Objective-C interoperability is disabled
73 |
74 | @available(*, deprecated, message: "Use DevCycleUser")
75 | @objc(DVCUser)
| `- error: Objective-C interoperability is disabled
76 | public class ObjCDVCUser: ObjCDevCycleUser {}
77 |
[11/32] Compiling DevCycle ObjCDevCycleUser.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleEvent)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleEvent)
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
| `- error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleEvent: NSObject {
11 | @objc var type: String?
12 | @objc var target: String?
| `- error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc var type: String?
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
| `- error: Objective-C interoperability is disabled
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc var target: String?
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
| `- error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc var clientDate: NSDate?
14 | @objc var value: NSNumber?
15 | @objc var metaData: NSDictionary?
| `- error: Objective-C interoperability is disabled
16 |
17 | @objc(initializeWithType:)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc var metaData: NSDictionary?
16 |
17 | @objc(initializeWithType:)
| `- error: Objective-C interoperability is disabled
18 | public static func initialize(type: String) -> ObjCDevCycleEvent {
19 | return self.initialize(type: type, target: nil, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:22:6: error: Objective-C interoperability is disabled
20 | }
21 |
22 | @objc(initializeWithType:target:)
| `- error: Objective-C interoperability is disabled
23 | public static func initialize(type: String, target: String?) -> ObjCDevCycleEvent {
24 | return self.initialize(type: type, target: target, value: nil)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:27:6: error: Objective-C interoperability is disabled
25 | }
26 |
27 | @objc(initializeWithType:target:value:)
| `- error: Objective-C interoperability is disabled
28 | public static func initialize(type: String, target: String?, value: NSNumber?) -> ObjCDevCycleEvent {
29 | let builder = ObjCDevCycleEvent()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleEvent.swift:68:2: error: Objective-C interoperability is disabled
66 |
67 | @available(*, deprecated, message: "Use DevCycleEvent")
68 | @objc(DVCEvent)
| `- error: Objective-C interoperability is disabled
69 | public class ObjCDVCEvent: ObjCDevCycleEvent {}
70 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:8:2: error: Objective-C interoperability is disabled
6 | import Foundation
7 |
8 | @objc(LogLevel)
| `- error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:10:6: error: Objective-C interoperability is disabled
8 | @objc(LogLevel)
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
| `- error: Objective-C interoperability is disabled
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:11:6: error: Objective-C interoperability is disabled
9 | public class ObjCLogLevel: NSObject {
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
| `- error: Objective-C interoperability is disabled
12 | @objc public static let error = NSNumber(2)
13 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:12:6: error: Objective-C interoperability is disabled
10 | @objc public static let debug = NSNumber(0)
11 | @objc public static let info = NSNumber(1)
12 | @objc public static let error = NSNumber(2)
| `- error: Objective-C interoperability is disabled
13 | }
14 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:15:2: error: Objective-C interoperability is disabled
13 | }
14 |
15 | @objc(DevCycleOptions)
| `- error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:18:6: error: Objective-C interoperability is disabled
16 | public class ObjCDevCycleOptions: NSObject {
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
| `- error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:19:6: error: Objective-C interoperability is disabled
17 | @available(*, deprecated, message: "Use eventFlushIntervalMS")
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
| `- error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var flushEventsIntervalMs: NSNumber?
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:21:6: error: Objective-C interoperability is disabled
19 | @objc public var eventFlushIntervalMS: NSNumber?
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
| `- error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:22:6: error: Objective-C interoperability is disabled
20 | @objc public var disableEventLogging: NSNumber?
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
| `- error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:23:6: error: Objective-C interoperability is disabled
21 | @objc public var logLevel: NSNumber?
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
| `- error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:24:6: error: Objective-C interoperability is disabled
22 | @objc public var enableEdgeDB: NSNumber?
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
| `- error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:25:6: error: Objective-C interoperability is disabled
23 | @objc public var disableConfigCache: NSNumber?
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
| `- error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:26:6: error: Objective-C interoperability is disabled
24 | @objc public var configCacheTTL: NSNumber?
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:27:6: error: Objective-C interoperability is disabled
25 | @objc public var disableRealtimeUpdates: NSNumber?
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
| `- error: Objective-C interoperability is disabled
28 | @objc public var apiProxyURL: NSString?
29 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:28:6: error: Objective-C interoperability is disabled
26 | @objc public var disableAutomaticEventLogging: NSNumber?
27 | @objc public var disableCustomEventLogging: NSNumber?
28 | @objc public var apiProxyURL: NSString?
| `- error: Objective-C interoperability is disabled
29 |
30 | func buildDevCycleOptions() -> DevCycleOptions {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:101:2: error: Objective-C interoperability is disabled
99 |
100 | @available(*, deprecated, message: "Use DevCycleOptions")
101 | @objc(DVCOptions)
| `- error: Objective-C interoperability is disabled
102 | public class ObjCDVCOptions: ObjCDevCycleOptions {}
103 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:35:52: warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
33 | let interval = eventFlushIntervalMS as? Int {
34 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
35 | } else if let flushEventsIntervalMs = self.flushEventsIntervalMs,
| `- warning: 'flushEventsIntervalMs' is deprecated: Use eventFlushIntervalMS
36 | let interval = flushEventsIntervalMs as? Int {
37 | optionsBuilder = optionsBuilder.eventFlushIntervalMS(interval)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:42:45: warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
40 | if let disableEventLogging = self.disableEventLogging,
41 | let disable = disableEventLogging as? Bool {
42 | optionsBuilder = optionsBuilder.disableEventLogging(disable)
| `- warning: 'disableEventLogging' is deprecated: Use disableAutomaticEventLogging or disableCustomEventLogging
43 | }
44 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleOptions.swift:76:39: warning: conditional cast from 'NSString' to 'String' always succeeds
74 |
75 | if let apiProxyURL = self.apiProxyURL,
76 | let proxyURL = apiProxyURL as? String {
| `- warning: conditional cast from 'NSString' to 'String' always succeeds
77 | optionsBuilder = optionsBuilder.apiProxyURL(proxyURL)
78 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleUser)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:11:6: error: Objective-C interoperability is disabled
9 | @objc(DevCycleUser)
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
| `- error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:12:6: error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleUser: NSObject {
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
| `- error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:13:6: error: Objective-C interoperability is disabled
11 | @objc public var userId: String?
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
| `- error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc public var isAnonymous: NSNumber?
13 | @objc public var email: String?
14 | @objc public var name: String?
| `- error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:15:6: error: Objective-C interoperability is disabled
13 | @objc public var email: String?
14 | @objc public var name: String?
15 | @objc public var language: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var name: String?
15 | @objc public var language: String?
16 | @objc public var country: String?
| `- error: Objective-C interoperability is disabled
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var language: String?
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
| `- error: Objective-C interoperability is disabled
18 | @objc public var privateCustomData: [String: Any]?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var country: String?
17 | @objc public var customData: [String: Any]?
18 | @objc public var privateCustomData: [String: Any]?
| `- error: Objective-C interoperability is disabled
19 |
20 | public override init() {
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:24:6: error: Objective-C interoperability is disabled
22 | }
23 |
24 | @objc(initializeWithUserId:)
| `- error: Objective-C interoperability is disabled
25 | public static func initialize(userId: String?) -> ObjCDevCycleUser {
26 | let builder = ObjCDevCycleUser()
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleUser.swift:75:2: error: Objective-C interoperability is disabled
73 |
74 | @available(*, deprecated, message: "Use DevCycleUser")
75 | @objc(DVCUser)
| `- error: Objective-C interoperability is disabled
76 | public class ObjCDVCUser: ObjCDevCycleUser {}
77 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/35] Emitting module DevCycle
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc func propertyChange(notification: Notification) {
| `- error: Objective-C interoperability is disabled
128 | guard let userConfig = notification.userInfo?["new-user-config"] as? UserConfig else {
129 | return
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:54: error: cannot find 'NSMapTable' in scope
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: cannot find 'NSMapTable' in scope
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:45: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
[13/35] Compiling DevCycle RequestConsolidator.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:84:18: error: cannot find type 'URLRequest' in scope
82 | struct RequestWithCallback {
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
86 | self.callback = callback
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:85:64: error: cannot find type 'URLRequest' in scope
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | self.callback = callback
87 | self.request = request
[14/35] Compiling DevCycle isEqual.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:84:18: error: cannot find type 'URLRequest' in scope
82 | struct RequestWithCallback {
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
86 | self.callback = callback
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:85:64: error: cannot find type 'URLRequest' in scope
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | self.callback = callback
87 | self.request = request
[15/35] Compiling DevCycle resource_bundle_accessor.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:84:18: error: cannot find type 'URLRequest' in scope
82 | struct RequestWithCallback {
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
86 | self.callback = callback
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:85:64: error: cannot find type 'URLRequest' in scope
83 | var callback: ConfigCompletionHandler
84 | var request: URLRequest
85 | init(callback: @escaping ConfigCompletionHandler, request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | self.callback = callback
87 | self.request = request
[16/35] Compiling DevCycle Log.swift
[17/35] Compiling DevCycle NotificationNames.swift
[18/35] Compiling DevCycle ProcessConfig.swift
[19/35] Compiling DevCycle DevCycleService.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:9:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | import Foundation
8 |
9 | typealias DataResponse = (data: Data?, urlResponse: URLResponse?, error: Error?)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | typealias CompletionHandler = (DataResponse) -> Void
11 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:76:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 | class DevCycleService: DevCycleServiceProtocol {
76 | var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | var config: DVCConfig
78 | var options: DevCycleOptions?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:168:31: error: cannot find type 'URLRequest' in scope
166 | }
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
| `- error: cannot find type 'URLRequest' in scope
169 | let startTime = CFAbsoluteTimeGetCurrent()
170 | if let urlString = request.url?.absoluteString {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:219:10: error: cannot find type 'URLRequest' in scope
217 | func createConfigRequest(
218 | user: DevCycleUser, enableEdgeDB: Bool, extraParams: RequestParams? = nil
219 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
220 | var userQueryItems: [URLQueryItem] = user.toQueryItems()
221 | let queryItem = URLQueryItem(name: "enableEdgeDB", value: String(enableEdgeDB))
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:242:35: error: cannot find type 'URLRequest' in scope
240 | }
241 |
242 | func createEventsRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
243 | let urlComponents: URLComponents = createRequestUrl(type: "event")
244 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:248:39: error: cannot find type 'URLRequest' in scope
246 | }
247 |
248 | func createSaveEntityRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
249 | let urlComponents: URLComponents = createRequestUrl(type: "edgeDB")
250 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:87:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
85 |
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
88 | self.session = URLSession(configuration: sessionConfig)
89 | self.config = config
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:88:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
88 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | self.config = config
90 | self.options = options
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:169:25: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
169 | let startTime = CFAbsoluteTimeGetCurrent()
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 | if let urlString = request.url?.absoluteString {
171 | Log.debug("Making request: \(urlString)", tags: ["request"])
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:207:41: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
205 |
206 | if let urlString = response?.url?.absoluteString {
207 | let responseTime = (CFAbsoluteTimeGetCurrent() - startTime) * 1000
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
208 | Log.debug(
209 | "Request completed: \(urlString), response time: \(responseTime) ms",
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:174:22: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
172 | }
173 |
174 | self.session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
175 | DispatchQueue.main.async {
176 | guard let responseData = data,
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:350:42: error: value of type '_' expected to be instance of class or class-constrained type
348 | self.makeRequest(request: eventsRequest) { data, response, error in
349 | if error != nil || data == nil {
350 | return completion((data, response, error))
| `- error: value of type '_' expected to be instance of class or class-constrained type
351 | }
352 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:12:2: error: Objective-C interoperability is disabled
10 | public typealias DVCVariableValueHandler = (Any) -> Void
11 |
12 | @objc(DVCVariable)
| `- error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc(DVCVariable)
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
| `- error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:15:6: error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
15 | @objc public var type: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var key: String
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
| `- error: Objective-C interoperability is disabled
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
| `- error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
20 | @objc public var value: Any
| `- error: Objective-C interoperability is disabled
21 | @objc public var defaultValue: Any
22 | private let dvcVariable: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:21:6: error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
21 | @objc public var defaultValue: Any
| `- error: Objective-C interoperability is disabled
22 | private let dvcVariable: Any
23 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:52:6: error: Objective-C interoperability is disabled
50 | }
51 |
52 | @objc public func onUpdate(handler: @escaping DVCVariableValueHandler) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
53 | self.handler = handler
54 | return self
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleClient)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleClient: NSObject {
11 | var client: DevCycleClient?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:13:6: error: Objective-C interoperability is disabled
11 | var client: DevCycleClient?
12 |
13 | @objc(initialize:user:)
| `- error: Objective-C interoperability is disabled
14 | public static func initialize(
15 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:26:6: error: Objective-C interoperability is disabled
24 | }
25 |
26 | @objc(initialize:user:options:)
| `- error: Objective-C interoperability is disabled
27 | public static func initialize(
28 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:40:6: error: Objective-C interoperability is disabled
38 | }
39 |
40 | @objc(initialize:user:options:onInitialized:)
| `- error: Objective-C interoperability is disabled
41 | public static func initialize(
42 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:97:6: error: Objective-C interoperability is disabled
95 | }
96 |
97 | @objc(identifyUser:callback:)
| `- error: Objective-C interoperability is disabled
98 | public func identify(
99 | user: ObjCDevCycleUser, callback: ((Error?, [String: ObjCVariable]?) -> Void)?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc(resetUser:)
| `- error: Objective-C interoperability is disabled
128 | public func reset(callback: ((Error?, [String: ObjCVariable]) -> Void)?) {
129 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:136:6: error: Objective-C interoperability is disabled
134 | }
135 |
136 | @objc public func stringVariableValue(key: String, defaultValue: String) -> String {
| `- error: Objective-C interoperability is disabled
137 | guard let client = self.client else {
138 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:142:6: error: Objective-C interoperability is disabled
140 | return client.variableValue(key: key, defaultValue: defaultValue)
141 | }
142 | @objc public func numberVariableValue(key: String, defaultValue: NSNumber) -> NSNumber {
| `- error: Objective-C interoperability is disabled
143 | guard let client = self.client else {
144 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:148:6: error: Objective-C interoperability is disabled
146 | return client.variableValue(key: key, defaultValue: defaultValue)
147 | }
148 | @objc public func boolVariableValue(key: String, defaultValue: Bool) -> Bool {
| `- error: Objective-C interoperability is disabled
149 | guard let client = self.client else {
150 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:154:6: error: Objective-C interoperability is disabled
152 | return client.variableValue(key: key, defaultValue: defaultValue)
153 | }
154 | @objc public func jsonVariableValue(key: String, defaultValue: NSDictionary) -> NSDictionary {
| `- error: Objective-C interoperability is disabled
155 | guard let client = self.client else {
156 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:161:6: error: Objective-C interoperability is disabled
159 | }
160 |
161 | @objc public func stringVariable(key: String, defaultValue: String) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
162 | guard let client = self.client else {
163 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:167:6: error: Objective-C interoperability is disabled
165 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
166 | }
167 | @objc public func numberVariable(key: String, defaultValue: NSNumber) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
168 | guard let client = self.client else {
169 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:173:6: error: Objective-C interoperability is disabled
171 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
172 | }
173 | @objc public func boolVariable(key: String, defaultValue: Bool) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
174 | guard let client = self.client else {
175 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:179:6: error: Objective-C interoperability is disabled
177 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
178 | }
179 | @objc public func jsonVariable(key: String, defaultValue: NSDictionary) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
180 | guard let client = self.client else {
181 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:197:6: error: Objective-C interoperability is disabled
195 | }
196 |
197 | @objc public func allFeatures() -> [String: ObjCFeature]? {
| `- error: Objective-C interoperability is disabled
198 | guard let client = self.client else { return [:] }
199 | return featureToObjCFeature(client.allFeatures())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:202:6: error: Objective-C interoperability is disabled
200 | }
201 |
202 | @objc public func allVariables() -> [String: ObjCVariable]? {
| `- error: Objective-C interoperability is disabled
203 | guard let client = self.client else { return [:] }
204 | return variableToObjCVariable(client.allVariables())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:207:6: error: Objective-C interoperability is disabled
205 | }
206 |
207 | @objc(track:err:)
| `- error: Objective-C interoperability is disabled
208 | public func track(_ event: ObjCDevCycleEvent) throws {
209 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:214:6: error: Objective-C interoperability is disabled
212 | }
213 |
214 | @objc public func flushEvents() {
| `- error: Objective-C interoperability is disabled
215 | self.client?.flushEvents()
216 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:242:2: error: Objective-C interoperability is disabled
240 |
241 | @available(*, deprecated, message: "Use DevCycleClient")
242 | @objc(DVCClient)
| `- error: Objective-C interoperability is disabled
243 | public class ObjCDVCClient: ObjCDevCycleClient {}
244 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:62:23: warning: comparing non-optional value of type 'String' to 'nil' always returns false
60 | ) {
61 | do {
62 | if sdkKey == nil || sdkKey == "" {
| `- warning: comparing non-optional value of type 'String' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:65:28: warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
65 | } else if user == nil {
| `- warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
66 | Log.error("User missing", tags: ["build", "objc"])
67 | throw ObjCClientErrors.MissingUser
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:104:35: error: missing argument for parameter 'coder' in call
102 | guard let client = self.client else { return }
103 | guard user.userId != nil else {
104 | callback?(NSError(), nil)
| `- error: missing argument for parameter 'coder' in call
105 | return
106 | }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[20/35] Compiling DevCycle ObjCDVCVariable.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:9:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | import Foundation
8 |
9 | typealias DataResponse = (data: Data?, urlResponse: URLResponse?, error: Error?)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | typealias CompletionHandler = (DataResponse) -> Void
11 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:76:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 | class DevCycleService: DevCycleServiceProtocol {
76 | var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | var config: DVCConfig
78 | var options: DevCycleOptions?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:168:31: error: cannot find type 'URLRequest' in scope
166 | }
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
| `- error: cannot find type 'URLRequest' in scope
169 | let startTime = CFAbsoluteTimeGetCurrent()
170 | if let urlString = request.url?.absoluteString {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:219:10: error: cannot find type 'URLRequest' in scope
217 | func createConfigRequest(
218 | user: DevCycleUser, enableEdgeDB: Bool, extraParams: RequestParams? = nil
219 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
220 | var userQueryItems: [URLQueryItem] = user.toQueryItems()
221 | let queryItem = URLQueryItem(name: "enableEdgeDB", value: String(enableEdgeDB))
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:242:35: error: cannot find type 'URLRequest' in scope
240 | }
241 |
242 | func createEventsRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
243 | let urlComponents: URLComponents = createRequestUrl(type: "event")
244 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:248:39: error: cannot find type 'URLRequest' in scope
246 | }
247 |
248 | func createSaveEntityRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
249 | let urlComponents: URLComponents = createRequestUrl(type: "edgeDB")
250 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:87:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
85 |
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
88 | self.session = URLSession(configuration: sessionConfig)
89 | self.config = config
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:88:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
88 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | self.config = config
90 | self.options = options
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:169:25: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
169 | let startTime = CFAbsoluteTimeGetCurrent()
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 | if let urlString = request.url?.absoluteString {
171 | Log.debug("Making request: \(urlString)", tags: ["request"])
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:207:41: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
205 |
206 | if let urlString = response?.url?.absoluteString {
207 | let responseTime = (CFAbsoluteTimeGetCurrent() - startTime) * 1000
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
208 | Log.debug(
209 | "Request completed: \(urlString), response time: \(responseTime) ms",
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:174:22: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
172 | }
173 |
174 | self.session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
175 | DispatchQueue.main.async {
176 | guard let responseData = data,
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:350:42: error: value of type '_' expected to be instance of class or class-constrained type
348 | self.makeRequest(request: eventsRequest) { data, response, error in
349 | if error != nil || data == nil {
350 | return completion((data, response, error))
| `- error: value of type '_' expected to be instance of class or class-constrained type
351 | }
352 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:12:2: error: Objective-C interoperability is disabled
10 | public typealias DVCVariableValueHandler = (Any) -> Void
11 |
12 | @objc(DVCVariable)
| `- error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc(DVCVariable)
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
| `- error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:15:6: error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
15 | @objc public var type: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var key: String
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
| `- error: Objective-C interoperability is disabled
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
| `- error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
20 | @objc public var value: Any
| `- error: Objective-C interoperability is disabled
21 | @objc public var defaultValue: Any
22 | private let dvcVariable: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:21:6: error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
21 | @objc public var defaultValue: Any
| `- error: Objective-C interoperability is disabled
22 | private let dvcVariable: Any
23 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:52:6: error: Objective-C interoperability is disabled
50 | }
51 |
52 | @objc public func onUpdate(handler: @escaping DVCVariableValueHandler) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
53 | self.handler = handler
54 | return self
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleClient)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleClient: NSObject {
11 | var client: DevCycleClient?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:13:6: error: Objective-C interoperability is disabled
11 | var client: DevCycleClient?
12 |
13 | @objc(initialize:user:)
| `- error: Objective-C interoperability is disabled
14 | public static func initialize(
15 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:26:6: error: Objective-C interoperability is disabled
24 | }
25 |
26 | @objc(initialize:user:options:)
| `- error: Objective-C interoperability is disabled
27 | public static func initialize(
28 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:40:6: error: Objective-C interoperability is disabled
38 | }
39 |
40 | @objc(initialize:user:options:onInitialized:)
| `- error: Objective-C interoperability is disabled
41 | public static func initialize(
42 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:97:6: error: Objective-C interoperability is disabled
95 | }
96 |
97 | @objc(identifyUser:callback:)
| `- error: Objective-C interoperability is disabled
98 | public func identify(
99 | user: ObjCDevCycleUser, callback: ((Error?, [String: ObjCVariable]?) -> Void)?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc(resetUser:)
| `- error: Objective-C interoperability is disabled
128 | public func reset(callback: ((Error?, [String: ObjCVariable]) -> Void)?) {
129 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:136:6: error: Objective-C interoperability is disabled
134 | }
135 |
136 | @objc public func stringVariableValue(key: String, defaultValue: String) -> String {
| `- error: Objective-C interoperability is disabled
137 | guard let client = self.client else {
138 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:142:6: error: Objective-C interoperability is disabled
140 | return client.variableValue(key: key, defaultValue: defaultValue)
141 | }
142 | @objc public func numberVariableValue(key: String, defaultValue: NSNumber) -> NSNumber {
| `- error: Objective-C interoperability is disabled
143 | guard let client = self.client else {
144 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:148:6: error: Objective-C interoperability is disabled
146 | return client.variableValue(key: key, defaultValue: defaultValue)
147 | }
148 | @objc public func boolVariableValue(key: String, defaultValue: Bool) -> Bool {
| `- error: Objective-C interoperability is disabled
149 | guard let client = self.client else {
150 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:154:6: error: Objective-C interoperability is disabled
152 | return client.variableValue(key: key, defaultValue: defaultValue)
153 | }
154 | @objc public func jsonVariableValue(key: String, defaultValue: NSDictionary) -> NSDictionary {
| `- error: Objective-C interoperability is disabled
155 | guard let client = self.client else {
156 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:161:6: error: Objective-C interoperability is disabled
159 | }
160 |
161 | @objc public func stringVariable(key: String, defaultValue: String) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
162 | guard let client = self.client else {
163 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:167:6: error: Objective-C interoperability is disabled
165 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
166 | }
167 | @objc public func numberVariable(key: String, defaultValue: NSNumber) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
168 | guard let client = self.client else {
169 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:173:6: error: Objective-C interoperability is disabled
171 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
172 | }
173 | @objc public func boolVariable(key: String, defaultValue: Bool) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
174 | guard let client = self.client else {
175 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:179:6: error: Objective-C interoperability is disabled
177 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
178 | }
179 | @objc public func jsonVariable(key: String, defaultValue: NSDictionary) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
180 | guard let client = self.client else {
181 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:197:6: error: Objective-C interoperability is disabled
195 | }
196 |
197 | @objc public func allFeatures() -> [String: ObjCFeature]? {
| `- error: Objective-C interoperability is disabled
198 | guard let client = self.client else { return [:] }
199 | return featureToObjCFeature(client.allFeatures())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:202:6: error: Objective-C interoperability is disabled
200 | }
201 |
202 | @objc public func allVariables() -> [String: ObjCVariable]? {
| `- error: Objective-C interoperability is disabled
203 | guard let client = self.client else { return [:] }
204 | return variableToObjCVariable(client.allVariables())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:207:6: error: Objective-C interoperability is disabled
205 | }
206 |
207 | @objc(track:err:)
| `- error: Objective-C interoperability is disabled
208 | public func track(_ event: ObjCDevCycleEvent) throws {
209 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:214:6: error: Objective-C interoperability is disabled
212 | }
213 |
214 | @objc public func flushEvents() {
| `- error: Objective-C interoperability is disabled
215 | self.client?.flushEvents()
216 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:242:2: error: Objective-C interoperability is disabled
240 |
241 | @available(*, deprecated, message: "Use DevCycleClient")
242 | @objc(DVCClient)
| `- error: Objective-C interoperability is disabled
243 | public class ObjCDVCClient: ObjCDevCycleClient {}
244 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:62:23: warning: comparing non-optional value of type 'String' to 'nil' always returns false
60 | ) {
61 | do {
62 | if sdkKey == nil || sdkKey == "" {
| `- warning: comparing non-optional value of type 'String' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:65:28: warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
65 | } else if user == nil {
| `- warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
66 | Log.error("User missing", tags: ["build", "objc"])
67 | throw ObjCClientErrors.MissingUser
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:104:35: error: missing argument for parameter 'coder' in call
102 | guard let client = self.client else { return }
103 | guard user.userId != nil else {
104 | callback?(NSError(), nil)
| `- error: missing argument for parameter 'coder' in call
105 | return
106 | }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[21/35] Compiling DevCycle ObjCDevCycleClient.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:9:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | import Foundation
8 |
9 | typealias DataResponse = (data: Data?, urlResponse: URLResponse?, error: Error?)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | typealias CompletionHandler = (DataResponse) -> Void
11 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:76:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 | class DevCycleService: DevCycleServiceProtocol {
76 | var session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | var config: DVCConfig
78 | var options: DevCycleOptions?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:168:31: error: cannot find type 'URLRequest' in scope
166 | }
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
| `- error: cannot find type 'URLRequest' in scope
169 | let startTime = CFAbsoluteTimeGetCurrent()
170 | if let urlString = request.url?.absoluteString {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:219:10: error: cannot find type 'URLRequest' in scope
217 | func createConfigRequest(
218 | user: DevCycleUser, enableEdgeDB: Bool, extraParams: RequestParams? = nil
219 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
220 | var userQueryItems: [URLQueryItem] = user.toQueryItems()
221 | let queryItem = URLQueryItem(name: "enableEdgeDB", value: String(enableEdgeDB))
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:242:35: error: cannot find type 'URLRequest' in scope
240 | }
241 |
242 | func createEventsRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
243 | let urlComponents: URLComponents = createRequestUrl(type: "event")
244 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:248:39: error: cannot find type 'URLRequest' in scope
246 | }
247 |
248 | func createSaveEntityRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
249 | let urlComponents: URLComponents = createRequestUrl(type: "edgeDB")
250 | let url = urlComponents.url!
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:87:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
85 |
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
88 | self.session = URLSession(configuration: sessionConfig)
89 | self.config = config
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:88:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
86 | init(config: DVCConfig, cacheService: CacheServiceProtocol, options: DevCycleOptions? = nil) {
87 | let sessionConfig = URLSessionConfiguration.default
88 | self.session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
89 | self.config = config
90 | self.options = options
/host/spi-builder-workspace/DevCycle/Utils/RequestConsolidator.swift:23:25: error: cannot find type 'URLRequest' in scope
21 | }
22 |
23 | func queue(request: URLRequest, user: DevCycleUser, callback: @escaping ConfigCompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
24 | {
25 | if self.requestInFlight {
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:169:25: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
167 |
168 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler) {
169 | let startTime = CFAbsoluteTimeGetCurrent()
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 | if let urlString = request.url?.absoluteString {
171 | Log.debug("Making request: \(urlString)", tags: ["request"])
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:207:41: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
205 |
206 | if let urlString = response?.url?.absoluteString {
207 | let responseTime = (CFAbsoluteTimeGetCurrent() - startTime) * 1000
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
208 | Log.debug(
209 | "Request completed: \(urlString), response time: \(responseTime) ms",
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:174:22: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
172 | }
173 |
174 | self.session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
175 | DispatchQueue.main.async {
176 | guard let responseData = data,
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:350:42: error: value of type '_' expected to be instance of class or class-constrained type
348 | self.makeRequest(request: eventsRequest) { data, response, error in
349 | if error != nil || data == nil {
350 | return completion((data, response, error))
| `- error: value of type '_' expected to be instance of class or class-constrained type
351 | }
352 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:12:2: error: Objective-C interoperability is disabled
10 | public typealias DVCVariableValueHandler = (Any) -> Void
11 |
12 | @objc(DVCVariable)
| `- error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:14:6: error: Objective-C interoperability is disabled
12 | @objc(DVCVariable)
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
| `- error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:15:6: error: Objective-C interoperability is disabled
13 | public class ObjCDVCVariable: NSObject {
14 | @objc public var key: String
15 | @objc public var type: String?
| `- error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:16:6: error: Objective-C interoperability is disabled
14 | @objc public var key: String
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
| `- error: Objective-C interoperability is disabled
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:17:6: error: Objective-C interoperability is disabled
15 | @objc public var type: String?
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
| `- error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:18:6: error: Objective-C interoperability is disabled
16 | @objc public var eval: ObjCEvalReason?
17 | @objc public var isDefaulted: Bool
18 | @objc public var handler: DVCVariableValueHandler?
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:20:6: error: Objective-C interoperability is disabled
18 | @objc public var handler: DVCVariableValueHandler?
19 |
20 | @objc public var value: Any
| `- error: Objective-C interoperability is disabled
21 | @objc public var defaultValue: Any
22 | private let dvcVariable: Any
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:21:6: error: Objective-C interoperability is disabled
19 |
20 | @objc public var value: Any
21 | @objc public var defaultValue: Any
| `- error: Objective-C interoperability is disabled
22 | private let dvcVariable: Any
23 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDVCVariable.swift:52:6: error: Objective-C interoperability is disabled
50 | }
51 |
52 | @objc public func onUpdate(handler: @escaping DVCVariableValueHandler) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
53 | self.handler = handler
54 | return self
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:9:2: error: Objective-C interoperability is disabled
7 | import Foundation
8 |
9 | @objc(DevCycleClient)
| `- error: Objective-C interoperability is disabled
10 | public class ObjCDevCycleClient: NSObject {
11 | var client: DevCycleClient?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:13:6: error: Objective-C interoperability is disabled
11 | var client: DevCycleClient?
12 |
13 | @objc(initialize:user:)
| `- error: Objective-C interoperability is disabled
14 | public static func initialize(
15 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:26:6: error: Objective-C interoperability is disabled
24 | }
25 |
26 | @objc(initialize:user:options:)
| `- error: Objective-C interoperability is disabled
27 | public static func initialize(
28 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:40:6: error: Objective-C interoperability is disabled
38 | }
39 |
40 | @objc(initialize:user:options:onInitialized:)
| `- error: Objective-C interoperability is disabled
41 | public static func initialize(
42 | sdkKey: String,
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:97:6: error: Objective-C interoperability is disabled
95 | }
96 |
97 | @objc(identifyUser:callback:)
| `- error: Objective-C interoperability is disabled
98 | public func identify(
99 | user: ObjCDevCycleUser, callback: ((Error?, [String: ObjCVariable]?) -> Void)?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc(resetUser:)
| `- error: Objective-C interoperability is disabled
128 | public func reset(callback: ((Error?, [String: ObjCVariable]) -> Void)?) {
129 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:136:6: error: Objective-C interoperability is disabled
134 | }
135 |
136 | @objc public func stringVariableValue(key: String, defaultValue: String) -> String {
| `- error: Objective-C interoperability is disabled
137 | guard let client = self.client else {
138 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:142:6: error: Objective-C interoperability is disabled
140 | return client.variableValue(key: key, defaultValue: defaultValue)
141 | }
142 | @objc public func numberVariableValue(key: String, defaultValue: NSNumber) -> NSNumber {
| `- error: Objective-C interoperability is disabled
143 | guard let client = self.client else {
144 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:148:6: error: Objective-C interoperability is disabled
146 | return client.variableValue(key: key, defaultValue: defaultValue)
147 | }
148 | @objc public func boolVariableValue(key: String, defaultValue: Bool) -> Bool {
| `- error: Objective-C interoperability is disabled
149 | guard let client = self.client else {
150 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:154:6: error: Objective-C interoperability is disabled
152 | return client.variableValue(key: key, defaultValue: defaultValue)
153 | }
154 | @objc public func jsonVariableValue(key: String, defaultValue: NSDictionary) -> NSDictionary {
| `- error: Objective-C interoperability is disabled
155 | guard let client = self.client else {
156 | return defaultValue
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:161:6: error: Objective-C interoperability is disabled
159 | }
160 |
161 | @objc public func stringVariable(key: String, defaultValue: String) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
162 | guard let client = self.client else {
163 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:167:6: error: Objective-C interoperability is disabled
165 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
166 | }
167 | @objc public func numberVariable(key: String, defaultValue: NSNumber) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
168 | guard let client = self.client else {
169 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:173:6: error: Objective-C interoperability is disabled
171 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
172 | }
173 | @objc public func boolVariable(key: String, defaultValue: Bool) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
174 | guard let client = self.client else {
175 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:179:6: error: Objective-C interoperability is disabled
177 | return ObjCDVCVariable(client.variable(key: key, defaultValue: defaultValue))
178 | }
179 | @objc public func jsonVariable(key: String, defaultValue: NSDictionary) -> ObjCDVCVariable {
| `- error: Objective-C interoperability is disabled
180 | guard let client = self.client else {
181 | return objcDefaultVariable(key: key, defaultValue: defaultValue)
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:197:6: error: Objective-C interoperability is disabled
195 | }
196 |
197 | @objc public func allFeatures() -> [String: ObjCFeature]? {
| `- error: Objective-C interoperability is disabled
198 | guard let client = self.client else { return [:] }
199 | return featureToObjCFeature(client.allFeatures())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:202:6: error: Objective-C interoperability is disabled
200 | }
201 |
202 | @objc public func allVariables() -> [String: ObjCVariable]? {
| `- error: Objective-C interoperability is disabled
203 | guard let client = self.client else { return [:] }
204 | return variableToObjCVariable(client.allVariables())
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:207:6: error: Objective-C interoperability is disabled
205 | }
206 |
207 | @objc(track:err:)
| `- error: Objective-C interoperability is disabled
208 | public func track(_ event: ObjCDevCycleEvent) throws {
209 | guard let client = self.client else { return }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:214:6: error: Objective-C interoperability is disabled
212 | }
213 |
214 | @objc public func flushEvents() {
| `- error: Objective-C interoperability is disabled
215 | self.client?.flushEvents()
216 | }
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:242:2: error: Objective-C interoperability is disabled
240 |
241 | @available(*, deprecated, message: "Use DevCycleClient")
242 | @objc(DVCClient)
| `- error: Objective-C interoperability is disabled
243 | public class ObjCDVCClient: ObjCDevCycleClient {}
244 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:62:23: warning: comparing non-optional value of type 'String' to 'nil' always returns false
60 | ) {
61 | do {
62 | if sdkKey == nil || sdkKey == "" {
| `- warning: comparing non-optional value of type 'String' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:65:28: warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
63 | Log.error("SDK Key missing", tags: ["build", "objc"])
64 | throw ObjCClientErrors.MissingSDKKey
65 | } else if user == nil {
| `- warning: comparing non-optional value of type 'ObjCDevCycleUser' to 'nil' always returns false
66 | Log.error("User missing", tags: ["build", "objc"])
67 | throw ObjCClientErrors.MissingUser
/host/spi-builder-workspace/DevCycle/ObjC/ObjCDevCycleClient.swift:104:35: error: missing argument for parameter 'coder' in call
102 | guard let client = self.client else { return }
103 | guard user.userId != nil else {
104 | callback?(NSError(), nil)
| `- error: missing argument for parameter 'coder' in call
105 | return
106 | }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[22/35] Compiling DevCycle ObjCErrors.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:10:2: error: Objective-C interoperability is disabled
8 | import Foundation
9 |
10 | @objc(Feature)
| `- error: Objective-C interoperability is disabled
11 | public class ObjCFeature: NSObject {
12 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:36:2: error: Objective-C interoperability is disabled
34 |
35 |
36 | @objc(Variable)
| `- error: Objective-C interoperability is disabled
37 | public class ObjCVariable: NSObject {
38 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:58:2: error: Objective-C interoperability is disabled
56 |
57 |
58 | @objc(EvalReason)
| `- error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:60:6: error: Objective-C interoperability is disabled
58 | @objc(EvalReason)
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
| `- error: Objective-C interoperability is disabled
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:61:6: error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
| `- error: Objective-C interoperability is disabled
62 | @objc public private(set) var targetId: String?
63 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:62:6: error: Objective-C interoperability is disabled
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
| `- error: Objective-C interoperability is disabled
63 |
64 | init?(_ evalReason: EvalReason?) {
[23/35] Compiling DevCycle ObjCUserConfig.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:10:2: error: Objective-C interoperability is disabled
8 | import Foundation
9 |
10 | @objc(Feature)
| `- error: Objective-C interoperability is disabled
11 | public class ObjCFeature: NSObject {
12 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:36:2: error: Objective-C interoperability is disabled
34 |
35 |
36 | @objc(Variable)
| `- error: Objective-C interoperability is disabled
37 | public class ObjCVariable: NSObject {
38 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:58:2: error: Objective-C interoperability is disabled
56 |
57 |
58 | @objc(EvalReason)
| `- error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:60:6: error: Objective-C interoperability is disabled
58 | @objc(EvalReason)
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
| `- error: Objective-C interoperability is disabled
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:61:6: error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
| `- error: Objective-C interoperability is disabled
62 | @objc public private(set) var targetId: String?
63 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:62:6: error: Objective-C interoperability is disabled
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
| `- error: Objective-C interoperability is disabled
63 |
64 | init?(_ evalReason: EvalReason?) {
[24/35] Compiling DevCycle SSEConnection.swift
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:10:2: error: Objective-C interoperability is disabled
8 | import Foundation
9 |
10 | @objc(Feature)
| `- error: Objective-C interoperability is disabled
11 | public class ObjCFeature: NSObject {
12 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:36:2: error: Objective-C interoperability is disabled
34 |
35 |
36 | @objc(Variable)
| `- error: Objective-C interoperability is disabled
37 | public class ObjCVariable: NSObject {
38 | private(set) var _id: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:58:2: error: Objective-C interoperability is disabled
56 |
57 |
58 | @objc(EvalReason)
| `- error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:60:6: error: Objective-C interoperability is disabled
58 | @objc(EvalReason)
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
| `- error: Objective-C interoperability is disabled
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:61:6: error: Objective-C interoperability is disabled
59 | public class ObjCEvalReason: NSObject {
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
| `- error: Objective-C interoperability is disabled
62 | @objc public private(set) var targetId: String?
63 |
/host/spi-builder-workspace/DevCycle/ObjC/ObjCUserConfig.swift:62:6: error: Objective-C interoperability is disabled
60 | @objc public private(set) var reason: String
61 | @objc public private(set) var details: String?
62 | @objc public private(set) var targetId: String?
| `- error: Objective-C interoperability is disabled
63 |
64 | init?(_ evalReason: EvalReason?) {
[25/35] Compiling DevCycle DVCVariable.swift
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc func propertyChange(notification: Notification) {
| `- error: Objective-C interoperability is disabled
128 | guard let userConfig = notification.userInfo?["new-user-config"] as? UserConfig else {
129 | return
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:150:29: error: '#selector' can only be used with the Objective-C runtime
148 | private func addNotificationObserver() {
149 | NotificationCenter.default.addObserver(
150 | self, selector: #selector(propertyChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
151 | name: Notification.Name(NotificationNames.NewUserConfig), object: nil)
152 | }
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:54: error: cannot find 'NSMapTable' in scope
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: cannot find 'NSMapTable' in scope
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:45: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
[26/35] Compiling DevCycle DevCycleClient.swift
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc func propertyChange(notification: Notification) {
| `- error: Objective-C interoperability is disabled
128 | guard let userConfig = notification.userInfo?["new-user-config"] as? UserConfig else {
129 | return
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:150:29: error: '#selector' can only be used with the Objective-C runtime
148 | private func addNotificationObserver() {
149 | NotificationCenter.default.addObserver(
150 | self, selector: #selector(propertyChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
151 | name: Notification.Name(NotificationNames.NewUserConfig), object: nil)
152 | }
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:54: error: cannot find 'NSMapTable' in scope
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: cannot find 'NSMapTable' in scope
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:45: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
[27/35] Compiling DevCycle DevCycleUser.swift
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc func propertyChange(notification: Notification) {
| `- error: Objective-C interoperability is disabled
128 | guard let userConfig = notification.userInfo?["new-user-config"] as? UserConfig else {
129 | return
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:150:29: error: '#selector' can only be used with the Objective-C runtime
148 | private func addNotificationObserver() {
149 | NotificationCenter.default.addObserver(
150 | self, selector: #selector(propertyChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
151 | name: Notification.Name(NotificationNames.NewUserConfig), object: nil)
152 | }
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:54: error: cannot find 'NSMapTable' in scope
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: cannot find 'NSMapTable' in scope
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:45: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
[28/35] Compiling DevCycle Cache.swift
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:127:6: error: Objective-C interoperability is disabled
125 | }
126 |
127 | @objc func propertyChange(notification: Notification) {
| `- error: Objective-C interoperability is disabled
128 | guard let userConfig = notification.userInfo?["new-user-config"] as? UserConfig else {
129 | return
/host/spi-builder-workspace/DevCycle/DVCVariable.swift:150:29: error: '#selector' can only be used with the Objective-C runtime
148 | private func addNotificationObserver() {
149 | NotificationCenter.default.addObserver(
150 | self, selector: #selector(propertyChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
151 | name: Notification.Name(NotificationNames.NewUserConfig), object: nil)
152 | }
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:54: error: cannot find 'NSMapTable' in scope
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: cannot find 'NSMapTable' in scope
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
/host/spi-builder-workspace/DevCycle/DevCycleClient.swift:52:45: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
50 | private var closed: Bool = false
51 | private var inactivityWorkItem: DispatchWorkItem?
52 | private var variableInstanceDictonary = [String: NSMapTable<AnyObject, AnyObject>]()
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
53 | private var disableAutomaticEventLogging: Bool = false
54 | private var disableCustomEventLogging: Bool = false
[29/35] Compiling DevCycle CustomData.swift
[30/35] Compiling DevCycle DVCConfig.swift
[31/35] Compiling DevCycle DevCycleEvent.swift
[32/35] Compiling DevCycle DevCycleOptions.swift
[33/35] Compiling DevCycle EventQueue.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Models/EventQueue.swift:51:98: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 | Log.error("Retryable Error: \(error)", tags: ["events", "flush"])
50 | self.queue(eventsToFlush)
51 | } else if let response = response as? HTTPURLResponse, (200...399).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 | Log.info("Submitted: \(String(describing: eventsToFlush.count)) events", tags: ["events", "flush"])
53 | } else {
[34/35] Compiling DevCycle PlatformDetails.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Models/EventQueue.swift:51:98: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 | Log.error("Retryable Error: \(error)", tags: ["events", "flush"])
50 | self.queue(eventsToFlush)
51 | } else if let response = response as? HTTPURLResponse, (200...399).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 | Log.info("Submitted: \(String(describing: eventsToFlush.count)) events", tags: ["events", "flush"])
53 | } else {
[35/35] Compiling DevCycle UserConfig.swift
/host/spi-builder-workspace/DevCycle/Networking/DevCycleService.swift:72:31: error: cannot find type 'URLRequest' in scope
70 | completion: @escaping PublishEventsCompletionHandler)
71 | func saveEntity(user: DevCycleUser, completion: @escaping SaveEntityCompletionHandler)
72 | func makeRequest(request: URLRequest, completion: @escaping CompletionHandler)
| `- error: cannot find type 'URLRequest' in scope
73 | }
74 |
/host/spi-builder-workspace/DevCycle/Models/EventQueue.swift:51:98: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 | Log.error("Retryable Error: \(error)", tags: ["events", "flush"])
50 | self.queue(eventsToFlush)
51 | } else if let response = response as? HTTPURLResponse, (200...399).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 | Log.info("Submitted: \(String(describing: eventsToFlush.count)) events", tags: ["events", "flush"])
53 | } else {
BUILD FAILURE 6.1 linux