Hello,
I've created a new Xcode project. I've selected SwiftUI as the interface.
I've added the TelemetryDeck SDK, as described in this guide, where the Dependency Rule is set to Up to Next Major Version and the selected version is 2.4.1release link.
Doing just that (not even importing TelemetryDeck to any file or Initializing the package, and the app fails during the build phase.
The failure is in the TelemetryClient file, in this line:
nonisolated(unsafe)
nonisolated can not be applied to stored properties
If I change the Dependency Rule to Exact Version and the selected version 2.3.0, the app can be built and run.
My setup:
Xcode: Version 15.0.1 (15A507)
macOS: 13.6 (22G120)
mac: MacBook Pro 13-inch, 2020, Four Thunderbolt 3 ports, 2 GHz Quad-Core Intel Core i5
simulator: iPhone 13 Pro, iOS 17.0.1
Hello, I've created a new Xcode project. I've selected SwiftUI as the interface. I've added the TelemetryDeck SDK, as described in this guide, where the
Dependency Rule
is set toUp to Next Major Version
and the selected version is2.4.1
release link. Doing just that (not even importing TelemetryDeck to any file or Initializing the package, and the app fails during the build phase. The failure is in theTelemetryClient
file, in this line:nonisolated can not be applied to stored properties
If I change the
Dependency Rule
toExact Version
and the selected version2.3.0
, the app can be built and run.My setup: Xcode: Version 15.0.1 (15A507) macOS: 13.6 (22G120) mac: MacBook Pro 13-inch, 2020, Four Thunderbolt 3 ports, 2 GHz Quad-Core Intel Core i5 simulator: iPhone 13 Pro, iOS 17.0.1