Open ganeshnj opened 8 months ago
We know there is a mismatch between iOS supported versions and the supported swift version in Xcode, but the decision is taken in order to support Concurrency in the code, which only comes with iOS 13.
I wonder if it was necessary to bump the version in Package.swift was necessary. @crsantos the comment you shared doesn't explain anything why it was required and any alternative solution discussed or not.
Could this be solved using compile & runtime check (#available....
@available
) while dealing with specific iOS versions?
hi there 👋
any update on this? It makes almost impossible to take a dependency on this packages as a library developer. We wouldn't want to drop iOS 12 support before Apple drops officially.
No updates, the change is made and won't be reverted. It was announced before doing and no one said anything against it then.
I think we should come up with support strategy here, when and how certain version of Swift, Xcode or platforms are supported under certain conditions.
I agree, no one said anything against back then but as the popularity of the library grows, we are going to have such corner cases and discovered when someone tries to integrate the library.
I'm happy to chat on this further.
There is mismatch of supported iOS/tvOS version with Swift language version.
https://github.com/open-telemetry/opentelemetry-swift/blob/main/Package%40swift-5.9.swift#L6-L13
As per Apple, Swift 5.9 supports iOS 12 going along with Xcode 15 supporting iOS 12 targets.
Hence,
opentelemetry-swift
should not drop support for iOS 12 with their Swift 5.9 support.