script to build binary distribution (a framework for ios and one for osx)