diff --git a/SwiftInstagram.xcodeproj/project.pbxproj b/SwiftInstagram.xcodeproj/project.pbxproj index 4d8d62a..964115c 100644 --- a/SwiftInstagram.xcodeproj/project.pbxproj +++ b/SwiftInstagram.xcodeproj/project.pbxproj @@ -749,7 +749,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; + shellScript = "if [ $CARTHAGE = \"YES\" ]; then\n exit 0\nfi\n\nif which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; }; /* End PBXShellScriptBuildPhase section */