ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Asked Answered
J

2

11

I'm getting this warning from SPM (I think) since upgrading to Xcode 12.5 and I have two questions:

  1. What does it mean?
  2. What can I do to solve/hide it?

Would be thankful for any responses. I found no good answers to these questions on Google.

Josiah answered 29/4, 2021 at 11:35 Comment(6)
I also got the same issue right after updating to Xcode 12.5. Do you suspect a specific dependency that could be doing this?Expectoration
Yes I have a SwiftPM dependency on Apollo which has a dependency on Starscream which has a dependency on swift-nio-zlib-support.Josiah
I have same problem with Apollo and Starscream. Maybe try to upvode opened issue (#4) in swift-nio-zlib-support github.Immunogenic
I filed an issue with Starscream now also.Josiah
Yea I can confirm I am also using Apollo and Starscream. I will upvote the issue.Expectoration
Also Apollo / StarscreamGunny
I
4

There is opened pull request in Starscream github which is solving this warning. It will be fixed soon otherwise you can see files changed with solution.

Immunogenic answered 11/5, 2021 at 11:27 Comment(0)
U
0

This is happen when you have multiple targets and you did't add Framework and libraries in all target

You can fix it by adding Framework and libraries in all target Go to Project > General > Targets > Framework and libraries Then add Framework and libraries to all targets which require it

Urinary answered 30/10, 2021 at 5:43 Comment(1)
Not sure that's always the case. I'm getting the warning with a Package that has a single target with no dependencies.Interlunation

© 2022 - 2024 — McMap. All rights reserved.