Just upgraded to Xcode 13.1 and opened a SPM project by clicking the Package.swift file that has some dependencies. In the former versions I could simply edit one of these dependencies by dragging a local clone of the package into the Project Navigator. Xcode was then going to ignore the checked out dependency and let me edit the local one. Apple documents this here.
When trying this with Xcode 13.1, Xcode just copies the folder into the project folder, like it does with normal files/folders that are not SPM projects.
Did I find a bug or missed I something?
Thanks!
Update: I found out how to work around by creating a .xcodeproj file with swift package generate-xcodeproj
. There I could drag in the package as always. This works but is not the way to go, as the xcodeproj generation is deprecated by apple.