Product -->Scheme-->Edit SchemeArguments -->Environment Variables -->添加一个环境变量 OS_ACTIVITY_MODE,设置值为disable