From 4642a02b3c0ef911decc5be7543c15e4e0c59f56 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 8 Jul 2019 23:15:32 -0700 Subject: [PATCH] Add .swiftpm/xcode to default gitignore If you use the new SwiftPM + Xcode 11 integration and open the scheme viewer, Xcode writes a shared scheme. This shared scheme ends up in a path that wasn't previously covered by this gitignore since it's normally intended to be checked in. We can't ignore the entire .swiftpm directory since this can contain other files, but this ignores all Xcode created artifacts. --- Sources/Workspace/InitPackage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Workspace/InitPackage.swift b/Sources/Workspace/InitPackage.swift index 31670b22764..854ebb136dd 100644 --- a/Sources/Workspace/InitPackage.swift +++ b/Sources/Workspace/InitPackage.swift @@ -176,7 +176,7 @@ public final class InitPackage { /.build /Packages /*.xcodeproj - xcuserdata/ + /.swiftpm/xcode/ """ }