Check out this link. Basically, you have to remove the unnecessary packages from Targets -> Frameworks, Libraries, and Embedded Content
https://stackoverflow.com/questions/77448599/cant-select-needed-packages-in-xcode-15
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: