mirror of
https://github.com/ProxymanApp/atlantis.git
synced 2026-04-26 08:26:04 +03:00
[GH-ISSUE #135] Xcode 15: The request of a upload task should not contain a body or a body stream #85
Labels
No labels
Done
Done
Windows
bug
bug
bug
enhancement
enhancement
enhancement
good first issue
hacktoberfest
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/atlantis#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @brandonskane on GitHub (Aug 22, 2023).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/135
Originally assigned to: @NghiaTranUIT on GitHub.
Xcode 15 gives the below warning when running Atlantis, line 325 in
_swizzleURLSessionUploadFromDataWithCompleteHandlerSelectorThe 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.@NghiaTranUIT commented on GitHub (Aug 23, 2023):
Thanks. Let me investigate it with Xcode 15 Beta
@NghiaTranUIT commented on GitHub (Aug 23, 2023):
I'm unable to reproduce this issue:
URLSession.shared.uploadTask(with: request, from: data)and I don't get the warning.
Just wondering:
thanks in advance 👍
@yjdv commented on GitHub (Sep 18, 2023):
I've got the same issue with lates Xcode 15 RC and Atlantis installed as SPM
@brandonskane commented on GitHub (Sep 18, 2023):
I've tracked it down to NewRelic. When I disable NewRelic from starting, I do not get this error.
So Xcode 15 + NewRelic + Atlantis causes this to appear.
I'm using Xcode 15 final release (15A240d)
Your original stack trace request

@yjdv commented on GitHub (Sep 18, 2023):
that should be the case I've got new relic too in the project but I can't disable it
@brandonskane commented on GitHub (Sep 18, 2023):
I cannot disable it either, however, in Production since one would not have Atlantis enabled, this is less of a concern, at least to me. It would still be nice to not have this warning during development.
@yjdv commented on GitHub (Sep 18, 2023):
yeah agree on that. it could stay open but with less priority @NghiaTranUIT
@NghiaTranUIT commented on GitHub (Sep 19, 2023):
Thanks. Let me investigate Atlantis and New Relic 👍
@NghiaTranUIT commented on GitHub (Sep 19, 2023):
@yjdv @brandonskane it seems this warning is not from Atlantis. It's from the NewRelic (See the screenshot)
How to reproduce