When running an App with the Optimizely SDK integrated, the following error message is shown in Xcode 15:
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.
DefaultEventDispatcher.swift > L184-L192
Expected Behavior
The SDK should not have any runtime issues flagged by Xcode
Is there an existing issue for this?
SDK Version
3.10.2
iOS Version
17.0
Current Behavior
When running an App with the Optimizely SDK integrated, the following error message is shown in Xcode 15:
Expected Behavior
The SDK should not have any runtime issues flagged by Xcode
Steps To Reproduce
Run an App that has the Optimizely SDK integrated and calls
sendEvent(event: EventForDispatch, completionHandler: @escaping DispatchCompletionHandler)
Link
sendEvent(event: EventForDispatch, completionHandler: @escaping DispatchCompletionHandler)
Logs / Stacktraces
Severity
No response
Workaround/Solution
No response
Recent Change
No response
Conflicts
No response