解决办法是:1、Product -> Edit Scheme2、Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable" 重新运行