Developer: Fix certain Swiftgen installations (#794)

This commit is contained in:
Joe Cardenas 2023-06-22 21:26:19 -04:00 committed by GitHub
parent bcdf15832a
commit adde7b20f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2990,7 +2990,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"swiftgen\"\n";
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
};
6286F0A3271C0ABA00C40ED5 /* R.swift */ = {
isa = PBXShellScriptBuildPhase;
@ -3009,7 +3009,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"swiftgen\"\n";
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
};
/* End PBXShellScriptBuildPhase section */