Edit Scheme... -> Run -> Arguments, 在Environment Variables里边添加 “OS_ACTIVITY_MODE = disable” 20161025161923355.png