updated iOS version reference to avoid explicit release of semaphores on iOS6