Bug fixed，cannot run in Simulator