-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Describe the bug
My team just tried to update our amplfiy-swift package to 2.51.0, which references smithy-swift, which adds opentelemetry-swift v1.15.0. This version causes a naming conflict with another package we use that depends on DataCompression.
Recently opentelemetry-swift was updated to fix this issue, version 2.1.0 (here).
Is it possible to update the opentelemetry-swift version in smithy-swift so it's less restrictive?
We opened a ticket with amplify-swift, and the maintainers there asked that we open a ticket here.
Expected Behavior
No conflicts over package dependencies.
Current Behavior
Dependency error: multiple packages {"datacompression", "opentelemetry-swift"} declare targets with a conflicting name: 'DataCompression'; target names need to be unique ...
Reproduction Steps
Steps to reproduce the behavior:
1. Create new project in Xcode
2. Add Launch Darkly SDK: https://github.com/launchdarkly/ios-client-sdk.git
3. Add `amplify-swift`
Result:
Package resolve error with "Multiple packages ..." error message.Possible Solution
Update referenced version of opentelemetry-swift to latest release
Additional Information/Context
No response
AWS SWIFT SDK version used
2.51.0
Compiler and Version used
Xcode: 16.4, 26 | Swift 6.1.2
Operating System and version
MacOS 26