Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't select needed packages in Xcode 15

Tags:

xcode

ios

Why can't I select only the packages that I need in Xcode 15, when I add dependencies with Swift Package Manager? For example, I want to install Firebase, but I don't need all of those dependencies that come with it. There is no checkmark next to the package name, so I can't deselect it. enter image description here

like image 360
Answer Avatar asked Feb 25 '26 01:02

Answer


1 Answers

You should just not add them to your target.

  1. Select the project
  2. Select the target
  3. (from the general tap) go to the frameworks, libraries, ....
  4. Select the frameworks you don't want
  5. hit the delete or just click on the minus button below
  6. Confirm

Demo

You can add them back with the plus button if you need to.

like image 174
Mojtaba Hosseini Avatar answered Feb 27 '26 20:02

Mojtaba Hosseini



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!