diff --git a/Sources/Scipio/main.swift b/Sources/Scipio/main.swift index d110c8a..c320083 100644 --- a/Sources/Scipio/main.swift +++ b/Sources/Scipio/main.swift @@ -10,7 +10,7 @@ extension Command { .init( commandName: "Scipio", abstract: "A program to pre-build and cache Swift packages", - version: "0.1.10", + version: "0.1.11", subcommands: [ Command.Build.self, Command.Upload.self, diff --git a/Sources/ScipioKit/Dependency Processors/CocoaPodProcessor.swift b/Sources/ScipioKit/Dependency Processors/CocoaPodProcessor.swift index ffbbf8d..c3ab816 100644 --- a/Sources/ScipioKit/Dependency Processors/CocoaPodProcessor.swift +++ b/Sources/ScipioKit/Dependency Processors/CocoaPodProcessor.swift @@ -135,9 +135,11 @@ project '\(projectPath.string)' let sandboxPath = path + "Pods" let manifestPath = path + "Pods/Manifest.lock" + let podBinaryPath = try sh("which", "pod") + .waitForOutputString() try path.chdir { - try sh("pod", "install") + try sh(podBinaryPath, "install") .logOutput() .waitUntilExit() }