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

1.9k views Asked by At

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.

2

There are 2 answers

0
bezoadam On

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.

1
Nalin Porwal On

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