Skip to content

Commit

Permalink
Updated Swiftlint script phase for Apple Silicon devices
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-sarda committed Jan 14, 2022
1 parent 0b59f03 commit 211eebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ViteMaDose.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
shellScript = "# Adds support for Apple Silicon brew directory\nexport PATH=\"$PATH:/opt/homebrew/bin\"\n\nif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
DA68646626276624005B2AC2 /* Crashlytics */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit 211eebc

Please sign in to comment.