http://rensanning.iteye.com/category/305123
precondition : NodeJS v0.10.22, npm v1.3.14, (Mac OS X, xCode for iOS apps)
npm install cordova@3.4.1-0.1.0 -g
git clone git@github.com:arrking/musa-hw-mobile.git
cd musa-hw-mobile
mkdir {platforms,plugins}
npm install
cd musa-hw-mobile
python extras/execute.py install-plugins
npm install ios-sim -g
export NODE_PATH=/usr/local/lib/node_modules
cd musa-hw-mobile
cordova prepare ios && cordova build ios
open platforms/ios/Snowball.xcodeproj
Then, install the app into your device or simulator.