This PR resolves compatibility issues between the SDK (which supports Swift 5.7) and newer Swift features used in some parts of the code. These changes ensure the SDK works correctly with older Xcode versions.
Checklist
[x] Does your PR title have the correct title format?
Summary
This PR resolves compatibility issues between the SDK (which supports Swift 5.7) and newer Swift features used in some parts of the code. These changes ensure the SDK works correctly with older Xcode versions.
Checklist