demo how to build a framework in xcode6