build universal ios lib and osx framework.