diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 707bbf6..f20e5b0 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -11,8 +11,11 @@ private_lane :installDependencies do |options| sh("rm -rf #{podsReposPath}") end - if File.exists? "../Brewfile" - sh("brew bundle --file ../Brewfile") + brew_dependencies = "imagemagick" + sh "brew ls --versions #{brew_dependencies}" do |status, output, command| + unless status.success? + sh("brew install #{brew_dependencies}") + end end if File.exists? "../Gemfile"