First, run the configurator:
./hm.sh conf -g2 --mac-sdk 10.10 --mac-identity Yosemite
then build the project:
./hm.sh build