diff --git a/plugins/package-managers/cocoapods/src/main/kotlin/CocoaPods.kt b/plugins/package-managers/cocoapods/src/main/kotlin/CocoaPods.kt index d882764a0769d..aa29864187930 100644 --- a/plugins/package-managers/cocoapods/src/main/kotlin/CocoaPods.kt +++ b/plugins/package-managers/cocoapods/src/main/kotlin/CocoaPods.kt @@ -194,7 +194,7 @@ class CocoaPods( val podspecCommand = runCatching { run( - "spec", "which", "^$podspecName$", + "spec", "which", "$podspecName", "--version=${id.version}", "--allow-root", "--regex",