Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatadogObjC target is broken in SPM with 1.3.0 dd-sdk-ios #218

Closed
TsvetelinVladimirov opened this issue Aug 13, 2020 · 5 comments
Closed
Assignees
Labels
awaiting response Waiting for response / confirmation from the reporter compilation issue SDK doesn't compile or gives warnings.
Milestone

Comments

@TsvetelinVladimirov
Copy link

TsvetelinVladimirov commented Aug 13, 2020

The issue

I'm using SwiftUI to build the UI part of the app. With SwiftUI there is no storyboard, instead the interface builder is replaced with the so called 'preview', which renders live your view. However after integrating this SDK the preview fails to build because of an error:

@objc attribute used without importing module 'Foundation'

I will attach the entire log generated from xCode about the problem.

Additional info:
This does not block the project from building on a device. Only the 'preview' generated from SwiftUI
The app is written purely in swift.


Datadog SDK version:

Integrated version 1.3.0 of dd-sdk-ios in a project using the swiftUI "preview" xCode.

Last working Datadog SDK version:

I don't know, never used it before. Probably never worked as swiftUI is relatively new.

Dependency Manager:

Used swift package manager to add the library

Other toolset:

No, nothing.

Xcode version:

xCode Version 11.6 (11E708)

Swift version:

Swift v. 5.2

Deployment Target:

iOS 13.0, iPhone

macOS version:

macOS Catalina 10.15.6

@TsvetelinVladimirov TsvetelinVladimirov added the compilation issue SDK doesn't compile or gives warnings. label Aug 13, 2020
@TsvetelinVladimirov
Copy link
Author

xCode generated system log

@objc attribute used without importing module 'Foundation'

----------------------------------------

SchemeBuildError: Failed to build the scheme "Qredo"

@objc attribute used without importing module 'Foundation'

Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Datadog+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/DatadogConfiguration+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Logger+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/ObjcIntercompatibility/AnyEncodable.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:11:24: error: use of undeclared type 'NSObject'
public class OTGlobal: NSObject {
                       ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: only classes that inherit from NSObject can be declared @objc
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:25:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {}
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:26:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {}
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:28:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:33:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {}
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:11:24: error: use of undeclared type 'NSObject'
public class OTGlobal: NSObject {
                       ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: only classes that inherit from NSObject can be declared @objc
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:25:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {}
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:26:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {}
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:28:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:33:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {}
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:11:24: error: use of undeclared type 'NSObject'
public class OTGlobal: NSObject {
                       ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: only classes that inherit from NSObject can be declared @objc
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:25:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {}
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:26:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {}
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:28:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:33:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {}
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:11:24: error: use of undeclared type 'NSObject'
public class OTGlobal: NSObject {
                       ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: only classes that inherit from NSObject can be declared @objc
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan { noopSpan }
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:25:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {}
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:26:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {}
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:28:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:29:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {}
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTNoop.swift:33:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {}
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:43:58: error: use of undeclared type 'NSDictionary'
    public func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan {
                                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:67:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:83:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?,
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:84:20: error: use of undeclared type 'Date'
        startTime: Date?
                   ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:125:42: error: use of undeclared type 'NSDictionary'
    private func castTagsToSwift(_ tags: NSDictionary) -> [String: Encodable] {
                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:9:28: error: use of undeclared type 'NSObject'
internal class DDSpanObjc: NSObject, DatadogObjc.OTSpan {
                           ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:100:25: error: use of unresolved identifier 'NSError'
            let error = NSError(
                        ^~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:104:21: error: use of unresolved identifier 'NSLocalizedDescriptionKey'
                    NSLocalizedDescriptionKey: "Trying to inject `OTSpanContext` using wrong format or carrier.",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:105:21: error: use of unresolved identifier 'NSLocalizedRecoverySuggestionErrorKey'
                    NSLocalizedRecoverySuggestionErrorKey: "Use `DDHTTPHeadersWriter` carrier with `OTFormatHTTPHeaders` format."
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:10:37: error: use of undeclared type 'NSObject'
public class DDTracerConfiguration: NSObject {
                                    ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:28:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:32:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:40:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:70:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:41:37: error: use of unresolved identifier 'Date'
        self.log(fields, timestamp: Date())
                                    ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:43:58: error: use of undeclared type 'NSDictionary'
    public func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan {
                                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:67:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:83:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?,
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:84:20: error: use of undeclared type 'Date'
        startTime: Date?
                   ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:125:42: error: use of undeclared type 'NSDictionary'
    private func castTagsToSwift(_ tags: NSDictionary) -> [String: Encodable] {
                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:9:28: error: use of undeclared type 'NSObject'
internal class DDSpanObjc: NSObject, DatadogObjc.OTSpan {
                           ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:100:25: error: use of unresolved identifier 'NSError'
            let error = NSError(
                        ^~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:104:21: error: use of unresolved identifier 'NSLocalizedDescriptionKey'
                    NSLocalizedDescriptionKey: "Trying to inject `OTSpanContext` using wrong format or carrier.",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:105:21: error: use of unresolved identifier 'NSLocalizedRecoverySuggestionErrorKey'
                    NSLocalizedRecoverySuggestionErrorKey: "Use `DDHTTPHeadersWriter` carrier with `OTFormatHTTPHeaders` format."
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:10:37: error: use of undeclared type 'NSObject'
public class DDTracerConfiguration: NSObject {
                                    ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:28:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:32:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:40:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:70:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:41:37: error: use of unresolved identifier 'Date'
        self.log(fields, timestamp: Date())
                                    ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:43:58: error: use of undeclared type 'NSDictionary'
    public func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan {
                                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:67:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:83:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?,
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:84:20: error: use of undeclared type 'Date'
        startTime: Date?
                   ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:125:42: error: use of undeclared type 'NSDictionary'
    private func castTagsToSwift(_ tags: NSDictionary) -> [String: Encodable] {
                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:9:28: error: use of undeclared type 'NSObject'
internal class DDSpanObjc: NSObject, DatadogObjc.OTSpan {
                           ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:100:25: error: use of unresolved identifier 'NSError'
            let error = NSError(
                        ^~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:104:21: error: use of unresolved identifier 'NSLocalizedDescriptionKey'
                    NSLocalizedDescriptionKey: "Trying to inject `OTSpanContext` using wrong format or carrier.",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:105:21: error: use of unresolved identifier 'NSLocalizedRecoverySuggestionErrorKey'
                    NSLocalizedRecoverySuggestionErrorKey: "Use `DDHTTPHeadersWriter` carrier with `OTFormatHTTPHeaders` format."
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:10:37: error: use of undeclared type 'NSObject'
public class DDTracerConfiguration: NSObject {
                                    ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:28:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:32:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:40:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:70:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:41:37: error: use of unresolved identifier 'Date'
        self.log(fields, timestamp: Date())
                                    ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:13:51: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:15:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:83: error: use of undeclared type 'NSDictionary'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                  ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:16:109: error: use of undeclared type 'Date'
    func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
                                                                                                            ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:43:58: error: use of undeclared type 'NSDictionary'
    public func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan {
                                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:67:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:83:15: error: use of undeclared type 'NSDictionary'
        tags: NSDictionary?,
              ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:84:20: error: use of undeclared type 'Date'
        startTime: Date?
                   ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:125:42: error: use of undeclared type 'NSDictionary'
    private func castTagsToSwift(_ tags: NSDictionary) -> [String: Encodable] {
                                         ^~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:9:28: error: use of undeclared type 'NSObject'
internal class DDSpanObjc: NSObject, DatadogObjc.OTSpan {
                           ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:100:25: error: use of unresolved identifier 'NSError'
            let error = NSError(
                        ^~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:104:21: error: use of unresolved identifier 'NSLocalizedDescriptionKey'
                    NSLocalizedDescriptionKey: "Trying to inject `OTSpanContext` using wrong format or carrier.",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracer+objc.swift:105:21: error: use of unresolved identifier 'NSLocalizedRecoverySuggestionErrorKey'
                    NSLocalizedRecoverySuggestionErrorKey: "Use `DDHTTPHeadersWriter` carrier with `OTFormatHTTPHeaders` format."
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:10:37: error: use of undeclared type 'NSObject'
public class DDTracerConfiguration: NSObject {
                                    ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/TracerConfiguration+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:28:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString) {
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:15:39: error: use of undeclared type 'NSString'
    func setTag(_ key: String, value: NSString)
                                      ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:32:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber) {
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:16:45: error: use of undeclared type 'NSNumber'
    func setTag(_ key: String, numberValue: NSNumber)
                                            ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:40:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject]) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:19:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject])
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:44:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?) {
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:33: error: use of undeclared type 'NSObject'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:20:55: error: use of undeclared type 'Date'
    func log(_ fields: [String: NSObject], timestamp: Date?)
                                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:70:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?) {
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:26:39: error: use of undeclared type 'Date'
    func finishWithTime(_ finishTime: Date?)
                                      ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpan+objc.swift:41:37: error: use of unresolved identifier 'Date'
        self.log(fields, timestamp: Date())
                                    ^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:10:35: error: use of undeclared type 'NSObject'
public class DDHTTPHeadersWriter: NSObject {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:10:35: error: use of undeclared type 'NSObject'
public class DDHTTPHeadersWriter: NSObject {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~


Compile /Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Utils/Casting.swift:
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/DDSpanContext+objc.swift:9:35: error: use of undeclared type 'NSObject'
internal class DDSpanContextObjc: NSObject, OTSpanContext {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:10:35: error: use of undeclared type 'NSObject'
public class DDHTTPHeadersWriter: NSObject {
                                  ^~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/Tracing/Propagation/HTTPHeadersWriter+objc.swift:13:21: error: initializer does not override a designated initializer from its superclass
    override public init() {}
    ~~~~~~~~        ^
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTGlobal+objc.swift:10:2: error: @objc attribute used without importing module 'Foundation'
@objc(OTGlobal)
~^~~~~~~~~~~~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpan+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTSpanContext+objc.swift:7:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~
/Users/tsvetelinvladimirov/Library/Developer/Xcode/DerivedData/Qredo-arbvkxvdpliglbagunfvdhzotykh/SourcePackages/checkouts/dd-sdk-ios/Sources/DatadogObjc/OpenTracing/OTTracer+objc.swift:9:2: error: @objc attribute used without importing module 'Foundation'
@objc
~^~~~

@buranmert buranmert self-assigned this Aug 13, 2020
@buranmert
Copy link
Contributor

hey @TsvetelinVladimirov 👋 thanks for reporting the issue 🙏
it looks like you link DatadogObjC target to your Swift project and those errors come from DatadogObjC target

if you keep Datadog target and remove DatadogObjC target from Frameworks, Libraries and Embedded Content section of your app target, your project should build successfully, i'm leaving a screenshot below 👇
Screenshot 2020-08-13 at 17 04 27
can you please let me know if that works for you?

but on the other hand, DatadogObjC seems to be broken; do you mind if i rename this issue to "DatadogObjC target is broken"?
i'll update this issue once we make a fix for DatadogObjC 🔜

@buranmert
Copy link
Contributor

hi again @TsvetelinVladimirov 👋
we shipped 1.3.1 version to fix this issue 🚀
please let me know if the issue still persists for you, otherwise feel free to close the issue

@buranmert buranmert added the awaiting response Waiting for response / confirmation from the reporter label Aug 14, 2020
@buranmert buranmert changed the title Fails to compile the preview in project using swiftUI with 1.3.0 dd-sdk-ios DatadogObjC target is broken in SPM with 1.3.0 dd-sdk-ios Aug 19, 2020
@buranmert buranmert added this to the hotfix-1.3.1 milestone Aug 19, 2020
@buranmert
Copy link
Contributor

hi @TsvetelinVladimirov 👋
it's been a while since our last message, can you please let us know whether the hotfix version works for you?
otherwise i will close the issue due to inactivity, however feel free to reopen later if needed

@buranmert
Copy link
Contributor

Closing the issue due to inactivity ⌛
Feel free re-open later if needed 🗽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Waiting for response / confirmation from the reporter compilation issue SDK doesn't compile or gives warnings.
Projects
None yet
Development

No branches or pull requests

2 participants