Skip to content

Commit

Permalink
Merge pull request #949 from dimitribouniol/patch-1
Browse files Browse the repository at this point in the history
Can't compile for SwiftUI Previews
  • Loading branch information
ncreated authored Aug 2, 2022
2 parents 4ab930f + 1c02414 commit 7c6bd63
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [IMPROVEMENT] Add mobile vitals frequency configuration. See [#876][]
* [IMPROVEMENT] Include the exact model information in RUM `device.model`. See [#888][]
* [FEATURE] Allow filtering outgoing logs with a status threshold. See [#867][]
* [BUGFIX] Fix compilation issue in SwiftUI Previews. See [#949][]

# 1.11.1 / 20-06-2022

Expand Down Expand Up @@ -395,6 +396,7 @@
[#851]: https://github.com/DataDog/dd-sdk-ios/issues/851
[#876]: https://github.com/DataDog/dd-sdk-ios/issues/876
[#894]: https://github.com/DataDog/dd-sdk-ios/issues/894
[#949]: https://github.com/DataDog/dd-sdk-ios/issues/949
[@00FA9A]: https://github.com/00FA9A
[@Britton-Earnin]: https://github.com/Britton-Earnin
[@Hengyu]: https://github.com/Hengyu
Expand Down
15 changes: 11 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,34 @@ let package = Package(
products: [
.library(
name: "Datadog",
type: .dynamic,
targets: ["Datadog"]
),
.library(
name: "DatadogObjc",
type: .dynamic,
targets: ["DatadogObjc"]
),
.library(
name: "DatadogDynamic",
type: .dynamic,
targets: ["Datadog"]
),
.library(
name: "DatadogDynamicObjc",
type: .dynamic,
targets: ["DatadogObjc"]
),
.library( // TODO: RUMM-2387 Consider removing explicit linkage variants
name: "DatadogStatic",
type: .static,
targets: ["Datadog"]
),
.library(
.library( // TODO: RUMM-2387 Consider removing explicit linkage variants
name: "DatadogStaticObjc",
type: .static,
targets: ["DatadogObjc"]
),
.library(
name: "DatadogCrashReporting",
type: .static,
targets: ["DatadogCrashReporting"]
),
],
Expand Down

0 comments on commit 7c6bd63

Please sign in to comment.