Comment on Xcode 13.3 SwiftPM.SPMRepositoryError error 5 Deleting derived data and opening my package directly in Xcode rather than using a previously SPM-generaterd .xcodeproj has fixed this for me. Developer Tools & Services Xcode Mar ’22