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

Release 2.13.0 #1899

Merged
merged 94 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
2f0ee2d
[Session replay] Support bg color + hidden nav bar
mariedm May 27, 2024
c2e6fed
Merge pull request #1872 from DataDog/release/2.12.0
ncreated May 31, 2024
7209564
Add app hang tracking to Objective-C API
0xnm May 31, 2024
89d9669
RUM-2814 Navigate through webviews
maxep May 31, 2024
9d5770e
nav bar snapshot tests
mariedm Jun 3, 2024
08424b7
Adding new snapshot hashes
mariedm Jun 3, 2024
5360bab
Fix GH asset otel validation
maxep Jun 3, 2024
439e211
Remove unused functions
mariedm Jun 4, 2024
c8bb9bc
Update gh_asset.py
maxep Jun 4, 2024
d6ff2b3
RUM-917 Improve telemetry of type mismatch
maciejburda May 27, 2024
c4f6721
Merge pull request #1864 from DataDog/mariedm/feat/RUM-866
mariedm Jun 4, 2024
0858ecb
Merge pull request #1873 from DataDog/nogorodnikov/add-app-hang-track…
0xnm Jun 4, 2024
b142cf9
Merge pull request #1874 from DataDog/maxep/RUM-2814/sr-e2e-scenario
maxep Jun 4, 2024
566edef
RUM-917 Update model
maciejburda Jun 4, 2024
fc54e44
RUM-4632 Share SR config
maxep Jun 4, 2024
7f3e31a
RUM-4632 Remove SR config in WVT
maxep Jun 4, 2024
c669cd1
RUM-4632 Fix snapshot tests build
maxep Jun 4, 2024
bc65793
Fix flaky test
maxep Jun 4, 2024
b12c9fb
Fix SR test flakiness
maxep Jun 4, 2024
57f8b80
chore: Disable flaky `testSetActive_givenParentSpan()` OTelSpan test
ncreated Jun 4, 2024
dda8c0f
[SR] Add background color support for TabBar
mariedm Jun 4, 2024
24d1845
Merge branch 'develop' of https://github.com/DataDog/dd-sdk-ios into …
mariedm Jun 4, 2024
0b00de5
Merge pull request #1876 from DataDog/maxep/fix-xcframework-validation
maxep Jun 5, 2024
5887cee
Merge pull request #1882 from DataDog/maxep/fix-flakiness
maxep Jun 5, 2024
d924662
Merge pull request #1881 from DataDog/ncreated/chore/disable-flaky-OT…
ncreated Jun 5, 2024
3200a0c
chore: Disable flaky `testSetActive_givenParentSpan()` OTelSpan test …
ncreated Jun 5, 2024
35f7ae3
Merge pull request #1884 from DataDog/ncreated/chore/disable-flaky-OT…
ncreated Jun 6, 2024
46c6816
Merge pull request #1863 from DataDog/maciey/RUM-917/wireframe-type-m…
maciejburda Jun 6, 2024
c65a21f
Add connect, trace, options values to DDRumMethod type
0xnm Jun 7, 2024
2f559ba
RUM-2814 Add scenario to RUM attribute
maxep Jun 7, 2024
26e3152
Add snapshot tests
mariedm Jun 10, 2024
d434f5f
Merge branch 'develop' of https://github.com/DataDog/dd-sdk-ios into …
mariedm Jun 10, 2024
690aaa6
Add new snapshots for Tab Bars
mariedm Jun 10, 2024
66be017
Merge pull request #1887 from DataDog/maxep/RUM-2814/set-scenario-as-…
maxep Jun 11, 2024
6e0872a
RUM-2442 emit _dd.session.id and _dd.application.id on logs with view.id
maxep Jun 11, 2024
1581030
Merge pull request #1879 from DataDog/maxep/RUM-4632/sr-weview-config
maxep Jun 11, 2024
cbda76b
Merge pull request #1893 from DataDog/maxep/s8s-rum-context
maxep Jun 11, 2024
5778c80
RUM-4151 Address nit
mariedm Jun 11, 2024
855249a
RUM-4829 Bump `IPHONEOS_DEPLOYMENT_TARGET` for Xcode project
ncreated Jun 11, 2024
d8ba6df
RUM-4829 Bump `IPHONEOS_DEPLOYMENT_TARGET` in podspecs
ncreated Jun 11, 2024
48a58cd
RUM-4829 Bump `IPHONEOS_DEPLOYMENT_TARGET` for SPM
ncreated Jun 11, 2024
a57a08b
RUM-4829 Bump iOS deployment target in IntegrationTests
ncreated Jun 11, 2024
55bef02
RUM-4829 Remove code specific to iOS 11
ncreated Jun 11, 2024
3409e9d
RUM-4829 Update CHANGELOG.md
ncreated Jun 11, 2024
3bbefae
RUM-4829 Bump `TVOS_DEPLOYMENT_TARGET` for Xcode project
ncreated Jun 11, 2024
bc3953c
RUM-4829 Bump `TVOS_DEPLOYMENT_TARGET` in podspecs
ncreated Jun 11, 2024
f7238f0
RUM-4829 Bump `TVOS_DEPLOYMENT_TARGET` for SPM
ncreated Jun 11, 2024
d1800ef
RUM-4829 Bump deployment target in IntegrationTests
ncreated Jun 11, 2024
4780395
RUM-4829 CR feedback - rename `iOS12CarrierInfoPublisher` → `CarrierI…
ncreated Jun 11, 2024
f33ccb7
Merge pull request #1890 from DataDog/mariedm/feat/RUM-4151
mariedm Jun 11, 2024
a6f658a
RUM-4829 Remove code specific to tvOS 11
ncreated Jun 11, 2024
c982eb3
RUM-4829 Update CHANGELOG.md
ncreated Jun 11, 2024
40d0797
RUM-4829 Fail linter on first error
ncreated Jun 11, 2024
10c91a5
Merge pull request #1886 from DataDog/nogorodnikov/add-connect-trace-…
0xnm Jun 12, 2024
7710653
RUM-4824 Make color SR identifier lazy
maciejburda Jun 12, 2024
a3d5366
Merge branch 'develop' into ncreated/RUM-4829/drop-ios11
ncreated Jun 12, 2024
f11d2a1
RUM-1660 Add `BundleType` to `DatadogContext`
ncreated May 22, 2024
83285c0
RUM-1660 Define `SessionEndedMetric` and DI controller
ncreated May 23, 2024
792e094
RUM-1660 Inject Session Ended Metric into RUM
ncreated May 27, 2024
e90f149
RUM-1660 Add tests for Session Ended Metric Controller
ncreated May 28, 2024
c3918d3
RUM-1660 Track "RUM Session Ended" attributes in RUM
ncreated May 29, 2024
37a8536
RUM-1660 Add tests for "RUM Session Ended" metric spec
ncreated May 31, 2024
180ab41
RUM-1660 Fix lint
ncreated May 31, 2024
5954c06
RUM-1660 Add more tests
ncreated May 31, 2024
1e65da5
RUM-1660 Fix lint
ncreated May 31, 2024
35c8096
RUM-1660 CR feedback - reduce number of RW locks used to track sessio…
ncreated Jun 10, 2024
85eb323
RUM-1660 CR feedback - simplify tests setup
ncreated Jun 10, 2024
297b1ac
RUM-1660 CR feedback - send telemetry on tracking view in foreign ses…
ncreated Jun 10, 2024
68aa7b7
RUM-1660 CR feedback - fix typo
ncreated Jun 11, 2024
7fae496
RUM-1660 CR feedback - use single lock for tracking session state and…
ncreated Jun 11, 2024
5272542
Merge pull request #1897 from DataDog/maciey/RUM-4824/cache-color-id
maciejburda Jun 12, 2024
f74929a
RUM-4133 Propagate device and os info to all metrics
maciejburda May 17, 2024
f991a23
RUM-4133 Fix tests
maciejburda May 24, 2024
da70fd0
RUM-4133 Fix tests
maciejburda May 27, 2024
f4dcf50
RUM-4133 Update RUM Model
maciejburda Jun 3, 2024
7901da1
RUM-4133 Update receiver to propagate device data to all metrics
maciejburda Jun 4, 2024
0f38f61
RUM-4133 Lint sources
maciejburda Jun 4, 2024
a7f8a59
RUM-4133 Improve tests
maciejburda Jun 12, 2024
220bb61
Fix complication issues on Xcode 16
maciejburda Jun 12, 2024
15f7989
Merge pull request #1866 from DataDog/ncreated/RUM-1660/send-rum-sess…
ncreated Jun 12, 2024
af8692d
Merge pull request #1891 from DataDog/ncreated/RUM-4829/drop-ios11
ncreated Jun 12, 2024
a2b2d28
Merge pull request #1845 from DataDog/maciey/RUM-4133-metrics-update
maciejburda Jun 12, 2024
dc16eac
Merge pull request #1898 from DataDog/maciey/fix-xcode16-compliation-…
maciejburda Jun 12, 2024
5e88737
RUM-4829 Set `SWIFT_VERSION` through `.xcconfig`
ncreated Jun 12, 2024
5ecb6a0
RUM-4829 Do not override `SWIFT_VERSION` in `SRSnapshotTests`
ncreated Jun 12, 2024
7b52bd6
RUM-4829 Upgrade `SRSnapshotTests` to iOS 17.5 and iPhone 15
ncreated Jun 12, 2024
b1a968c
RUM-4829 Re-generate SR snapshots for iOS 17.5 using iPhone 15 Simulator
ncreated Jun 12, 2024
86c20da
RUM-4829 Switch to iOS 17.5 and iPhone 15 for running SR snapshot tes…
ncreated Jun 12, 2024
4ab86be
RUM-4829 Upgrade Swift version in `Package.swift` and `podspecs`
ncreated Jun 12, 2024
54edf6d
RUM-4829 Set `SWIFT_VERSION` through `Base.xcconfig` for `Integration…
ncreated Jun 12, 2024
c47cfc0
Merge pull request #1901 from DataDog/ncreated/RUM-4829/upgrade-ci-to…
ncreated Jun 13, 2024
9e9c88d
Bumped version to 2.13.0
maciejburda Jun 12, 2024
3f89414
Update CHANGELOG
maciejburda Jun 12, 2024
602f8e8
Update release date
maciejburda Jun 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Unreleased

# 2.13.0 / 13-06-2024

- [IMPROVEMENT] Bump `IPHONEOS_DEPLOYMENT_TARGET` and `TVOS_DEPLOYMENT_TARGET` from 11 to 12. See [#1891][]
- [IMPROVEMENT] Add `.connect`, `.trace`, `.options` values to `DDRUMMethod` type. See [#1886][]
- [FIX] Fix compilation issues on Xcode 16 beta. See [#1898][]

# 2.12.0 / 03-06-2024

- [IMPROVEMENT] Crash errors now include up-to-date global RUM attributes. See [#1834][]
Expand Down Expand Up @@ -666,6 +672,7 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[#1767]: https://github.com/DataDog/dd-sdk-ios/pull/1767
[#1843]: https://github.com/DataDog/dd-sdk-ios/pull/1843
[#1798]: https://github.com/DataDog/dd-sdk-ios/pull/1798
[#1891]: https://github.com/DataDog/dd-sdk-ios/pull/1891
[#1776]: https://github.com/DataDog/dd-sdk-ios/pull/1776
[#1834]: https://github.com/DataDog/dd-sdk-ios/pull/1834
[#1721]: https://github.com/DataDog/dd-sdk-ios/pull/1721
Expand All @@ -675,6 +682,8 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[#1854]: https://github.com/DataDog/dd-sdk-ios/pull/1854
[#1828]: https://github.com/DataDog/dd-sdk-ios/pull/1828
[#1835]: https://github.com/DataDog/dd-sdk-ios/pull/1835
[#1886]: https://github.com/DataDog/dd-sdk-ios/pull/1886
[#1898]: https://github.com/DataDog/dd-sdk-ios/pull/1898
[@00fa9a]: https://github.com/00FA9A
[@britton-earnin]: https://github.com/Britton-Earnin
[@hengyu]: https://github.com/Hengyu
Expand Down Expand Up @@ -704,4 +713,4 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[@dfed]: https://github.com/dfed
[@cltnschlosser]: https://github.com/cltnschlosser
[@alexfanatics]: https://github.com/alexfanatics
[@changm4n]: https://github.com/changm4n
[@changm4n]: https://github.com/changm4n
227 changes: 101 additions & 126 deletions Datadog/Datadog.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@
<Test
Identifier = "DatadogTracer_SamplingTests/testWhenRootSpanIsSampled_thenAllChildSpansMustBeSampledTheSameWay()">
</Test>
<Test
Identifier = "OTelSpanTests/testSetActive_givenParentSpan()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@
BlueprintName = "DatadogTraceTests tvOS"
ReferencedContainer = "container:Datadog.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "OTelSpanTests/testSetActive_givenParentSpan()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CoreTelemetryIntegrationTests: XCTestCase {
core = nil
}

func testGivenRUMEnabled_telemetryEventsAreSent() {
func testGivenRUMEnabled_telemetryEventsAreSent() throws {
// Given
var config = RUM.Configuration(applicationID: .mockAny())
config.telemetrySampleRate = 100
Expand Down Expand Up @@ -57,7 +57,9 @@ class CoreTelemetryIntegrationTests: XCTestCase {

let metric = debugEvents[1]
XCTAssertEqual(metric.telemetry.message, "[Mobile Metric] Metric Name")
DDAssertReflectionEqual(metric.telemetry.telemetryInfo, ["metric.attribute": 42])

let metricAttribute = try XCTUnwrap(metric.telemetry.telemetryInfo["metric.attribute"] as? Int)
XCTAssertEqual(metricAttribute, 42)

let methodCalledMetric = debugEvents[2]
XCTAssertEqual(methodCalledMetric.telemetry.message, "[Mobile Metric] Method Called")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class WebLogIntegrationTests: XCTestCase {
hosts: [],
hostsSanitizer: HostsSanitizer(),
logsSampleRate: 100,
sessionReplayConfiguration: nil,
in: core
)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2019-Present Datadog, Inc.
*/

import XCTest
import TestUtilities
@testable import DatadogRUM

class RUMSessionEndedMetricIntegrationTests: XCTestCase {
private let dateProvider = DateProviderMock()
private var core: DatadogCoreProxy! // swiftlint:disable:this implicitly_unwrapped_optional
private var rumConfig: RUM.Configuration! // swiftlint:disable:this implicitly_unwrapped_optional

override func setUp() {
core = DatadogCoreProxy()
core.context = .mockWith(
launchTime: .mockWith(launchDate: dateProvider.now),
applicationStateHistory: .mockAppInForeground(since: dateProvider.now)
)
rumConfig = RUM.Configuration(applicationID: .mockAny())
rumConfig.telemetrySampleRate = 100
rumConfig.metricsTelemetrySampleRate = 100
rumConfig.dateProvider = dateProvider
}

override func tearDown() {
core.flushAndTearDown()
core = nil
rumConfig = nil
}

// MARK: - Conditions For Sending The Metric

func testWhenSessionEndsWithStopAPI() throws {
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key", name: "View")

// When
monitor.stopSession()

// Then
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertTrue(metricAttributes.wasStopped)
}

func testWhenSessionEndsDueToInactivityTimeout() throws {
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key1", name: "View1")

// When
dateProvider.now += RUMSessionScope.Constants.sessionTimeoutDuration + 1.seconds
monitor.startView(key: "key2", name: "View2")

// Then
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertFalse(metricAttributes.wasStopped)
}

func testWhenSessionReachesMaxDuration() throws {
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key", name: "View")

// When
let deadline = dateProvider.now + RUMSessionScope.Constants.sessionMaxDuration * 1.5
while dateProvider.now < deadline {
monitor.addAction(type: .custom, name: "action")
dateProvider.now += RUMSessionScope.Constants.sessionTimeoutDuration - 1.seconds
}

// Then
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertFalse(metricAttributes.wasStopped)
}

func testWhenSessionIsNotSampled_thenMetricIsNotSent() throws {
rumConfig.sessionSampleRate = 0
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key", name: "View")

// When
monitor.stopSession()

// Then
let events = core.waitAndReturnEventsData(ofFeature: RUMFeature.name, timeout: .now() + 0.5)
XCTAssertTrue(events.isEmpty)
}

// MARK: - Reporting Session Attributes

func testReportingSessionID() throws {
var currentSessionID: String?
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key", name: "View")
monitor.currentSessionID { currentSessionID = $0 }
monitor.stopView(key: "key")

// When
monitor.stopSession()

// Then
let metric = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent())
let expectedSessionID = try XCTUnwrap(currentSessionID)
XCTAssertEqual(metric.session?.id, expectedSessionID.lowercased())
}

func testTrackingSessionDuration() throws {
let startTime = dateProvider.now
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
dateProvider.now += 5.seconds
monitor.startView(key: "key1", name: "View1")
dateProvider.now += 5.seconds
monitor.startView(key: "key2", name: "View2")
dateProvider.now += 5.seconds
monitor.startView(key: "key3", name: "View3")
dateProvider.now += 5.seconds
monitor.stopView(key: "key3")

// When
monitor.stopSession()

// Then
let expectedDuration = dateProvider.now.timeIntervalSince(startTime)
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertEqual(metricAttributes.duration, expectedDuration.toInt64Nanoseconds)
}

func testTrackingViewsCount() throws {
rumConfig.trackBackgroundEvents = true // enable tracking "Background" view
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
(0..<3).forEach { _ in
// Simulate app in foreground:
core.context = .mockWith(applicationStateHistory: .mockAppInForeground(since: dateProvider.now))

// Track 2 distinct views:
dateProvider.now += 5.seconds
monitor.startView(key: "key1", name: "View1")
dateProvider.now += 5.seconds
monitor.startView(key: "key2", name: "View2")
dateProvider.now += 5.seconds
monitor.stopView(key: "key2")

// Simulate app in background:
core.context = .mockWith(applicationStateHistory: .mockAppInBackground(since: dateProvider.now))

// Track resource without view:
dateProvider.now += 1.seconds
monitor.startResource(resourceKey: "resource", url: .mockAny())
dateProvider.now += 1.seconds
monitor.stopResource(resourceKey: "resource", response: .mockAny())
}

// When
monitor.stopSession()

// Then
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertEqual(metricAttributes.viewsCount.total, 10)
XCTAssertEqual(metricAttributes.viewsCount.applicationLaunch, 1)
XCTAssertEqual(metricAttributes.viewsCount.background, 3)
}

func testTrackingSDKErrors() throws {
RUM.enable(with: rumConfig, in: core)

// Given
let monitor = RUMMonitor.shared(in: core)
monitor.startView(key: "key", name: "View")

core.flush()
(0..<9).forEach { _ in core.telemetry.error(id: "id1", message: .mockAny(), kind: "kind1", stack: .mockAny()) }
(0..<8).forEach { _ in core.telemetry.error(id: "id2", message: .mockAny(), kind: "kind2", stack: .mockAny()) }
(0..<7).forEach { _ in core.telemetry.error(id: "id3", message: .mockAny(), kind: "kind3", stack: .mockAny()) }
(0..<6).forEach { _ in core.telemetry.error(id: "id4", message: .mockAny(), kind: "kind4", stack: .mockAny()) }
(0..<5).forEach { _ in core.telemetry.error(id: "id5", message: .mockAny(), kind: "kind5", stack: .mockAny()) }
(0..<4).forEach { _ in core.telemetry.error(id: "id6", message: .mockAny(), kind: "kind6", stack: .mockAny()) }
core.flush()

// When
monitor.stopSession()

// Then
let metricAttributes = try XCTUnwrap(core.waitAndReturnSessionEndedMetricEvent()?.attributes)
XCTAssertEqual(metricAttributes.sdkErrorsCount.total, 39, "It should count all SDK errors")
XCTAssertEqual(
metricAttributes.sdkErrorsCount.byKind,
["kind1": 9, "kind2": 8, "kind3": 7, "kind4": 6, "kind5": 5],
"It should report TOP 5 error kinds"
)
}
}

// MARK: - Helpers

private extension DatadogCoreProxy {
func waitAndReturnSessionEndedMetricEvent() -> TelemetryDebugEvent? {
let events = waitAndReturnEvents(ofFeature: RUMFeature.name, ofType: TelemetryDebugEvent.self)
return events.first(where: { $0.telemetry.message == "[Mobile Metric] \(SessionEndedMetric.Constants.name)" })
}
}

private extension TelemetryDebugEvent {
var attributes: SessionEndedMetric.Attributes? {
return telemetry.telemetryInfo[SessionEndedMetric.Constants.rseKey] as? SessionEndedMetric.Attributes
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class WebEventIntegrationTests: XCTestCase {
hosts: [],
hostsSanitizer: HostsSanitizer(),
logsSampleRate: 100,
sessionReplayConfiguration: nil,
in: core
)
}
Expand Down
8 changes: 4 additions & 4 deletions DatadogAlamofireExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "DatadogAlamofireExtension"
s.version = "2.12.0"
s.version = "2.13.0"
s.summary = "An Official Extensions of Datadog Swift SDK for Alamofire."

s.homepage = "https://www.datadoghq.com"
Expand All @@ -14,9 +14,9 @@ Pod::Spec.new do |s|
"Maciej Burda" => "maciej.burda@datadoghq.com"
}

s.swift_version = '5.7.1'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.swift_version = '5.9'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'

s.source = { :git => "https://github.com/DataDog/dd-sdk-ios.git", :tag => s.version.to_s }

Expand Down
8 changes: 4 additions & 4 deletions DatadogCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "DatadogCore"
s.version = "2.12.0"
s.version = "2.13.0"
s.summary = "Official Datadog Swift SDK for iOS."

s.homepage = "https://www.datadoghq.com"
Expand All @@ -14,9 +14,9 @@ Pod::Spec.new do |s|
"Maciej Burda" => "maciej.burda@datadoghq.com"
}

s.swift_version = '5.7.1'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.swift_version = '5.9'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'

s.source = { :git => "https://github.com/DataDog/dd-sdk-ios.git", :tag => s.version.to_s }

Expand Down
Loading