modify to xcode4.5 and sdk6.0