Closed nzagorchev closed 6 months ago
Fix for Xcode 15 warning:
The request of a upload task should not contain a body or a body stream, use `upload(for:fromFile`, `upload(for:from`, or supply the body stream through the `urlSession(_:needNewBodyStreamForTask` delegate method.
Issue: https://github.com/Leanplum/Leanplum-iOS-SDK/issues/573
This is reproduced only in Dev mode if App Icons are uploaded.
Do not set the request body for upload requests. Set the data into the fromData parameter.
fromData
Manual
Yes
Background
Fix for Xcode 15 warning:
Issue: https://github.com/Leanplum/Leanplum-iOS-SDK/issues/573
This is reproduced only in Dev mode if App Icons are uploaded.
Implementation
Do not set the request body for upload requests. Set the data into the
fromData
parameter.Testing steps
Manual
Is this change backwards-compatible?
Yes