Home > OS >  How to add a specific package from an already added Library in Xcode 14.2 using Swift Package Manage
How to add a specific package from an already added Library in Xcode 14.2 using Swift Package Manage

Time:02-05

I'm using Xcode 14.2 and SwiftUI for making an iOS App. I have already added firebase-ios-sdk library to the project with some of the packages in it. But I now need to add another package that I previously hadn't.

Swift Package Manager won't let me access the Firebase library again since it's already been added.

In the current scenario Cocoa Pods is not an option. Is it possible through the SPM route?

CodePudding user response:

To add additional package products, in your target's "General" tab, find the Frameworks, Libraries, and Embedded Content and click the button

enter image description here

then select the additional libraries:

enter image description here

  • Related