Universal framework for iOS and OS X architectures