In case anyone found this thread, here is an issue we found in Xcode 14.1.
In the past we can add a local Swift package by dragging in the enclosing folder of the package manifest, and then add it to the "Frameworks, Libraries, and Embedded Content" section. The local package will appear under "Workspace" section.
We found that it works fine in Xcode 14.0.1, but in Xcode 14.1, the "Workspace" section disappears. Projects created prior to Xcode 14.1 still works and the framework shows up just fine in "Frameworks, Libraries, and Embedded Content". But if I remove the package from it and try to add it back, it doesn't show up.
This might be a bug in Xcode, or something has changed in the requirement of a local Swift package, we are still looking into it.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: