made universal iOS/OS X framework