diff --git a/.gitignore b/.gitignore index 95633047d4..179dc58058 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ scripts/apollo.tar.gz SwiftScripts/ApolloCLI Tests/ApolloCodegenTests/scripts Tests/ApolloCodegenTests/scripts directory +SwiftScripts/.build-** diff --git a/Apollo.xcodeproj/project.pbxproj b/Apollo.xcodeproj/project.pbxproj index c05d4245af..2ba9e929bc 100644 --- a/Apollo.xcodeproj/project.pbxproj +++ b/Apollo.xcodeproj/project.pbxproj @@ -1051,9 +1051,9 @@ 9B2061162591B3550020D1E0 /* Resources */ = { isa = PBXGroup; children = ( - 9B2061172591B3550020D1E0 /* c.txt */, - 9B2061182591B3550020D1E0 /* b.txt */, 9B2061192591B3550020D1E0 /* a.txt */, + 9B2061182591B3550020D1E0 /* b.txt */, + 9B2061172591B3550020D1E0 /* c.txt */, ); path = Resources; sourceTree = ""; @@ -2505,7 +2505,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run Codegen -t \"GitHub\"\n"; + shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run --build-path \"./.build-GitHub\" Codegen -t \"GitHub\"\n"; }; 9FCE2D061E6C251100E34457 /* Generate Apollo Client API */ = { isa = PBXShellScriptBuildPhase; @@ -2519,7 +2519,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run Codegen -t \"StarWars\"\n"; + shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run --build-path \"./.build-StarWars\" Codegen -t \"StarWars\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */