Skip to content

release 1.4.2 breaks Xcode-16.4 compiling for Swift-6.1.2 #209

@r-a-o

Description

@r-a-o

Describe the bug

Specifically, one of the sub-dependencies (opentelemetry-swift) is compiled with Swift-6.2 and it won't compile on Xcode-16.4 running Swift-6.1.2

Please don't change dependency requirements in minor version releases.

Steps To Reproduce

Steps to reproduce the behavior:
1. Install amplify-ui-swift-liveness 1.4.2 on Xcode-16.4
2. Compilation fails with error `opentelemetry-swift/Sources/Exporters/DataCompression/DataCompression.swift:31:10 Module compiled with Swift 6.2 cannot be imported by the Swift 6.1.2 compiler`
3. Version 1.4.2 only works on Xcode 26 running Swift 6.2

Expected behavior

1.4.2 breaks on Xcode-16.4, due to change in dependency, specifically opentelemetry-swift

Swift Liveness Version

6.1.2

Xcode version

16.4

Relevant log output

<details>
<summary>Log Messages</summary>


opentelemetry-swift/Sources/Exporters/DataCompression/DataCompression.swift:31:10 Module compiled with Swift 6.2 cannot be imported by the Swift 6.1.2 compiler

</details>

Is this a regression?

No

Regression additional context

No response

OS Version

Any

Device

Any

Specific to simulators

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions