Error mix deps.get in Mac

,

Background

I have a project that needs to run on a Mac machine. I have installed erlang 22.0 and Elixir 1.7.0 using asdf and I have tried to install the dependencies using mix deps.get.

Problem

However when I try to run it I get the following error:

(MatchError) no match of right hand side value: {:error, {:ssl, {'no such file or directory', 'ssl.app'}}}

I have tried to fix the issue by following this SO question but it didn’t fix the problem:

Questions

How can I fix this ?