xcode4 support for ios/osx