Fixed a problem of using an old ios7 beta SDK.