1、打开Product ---> Scheme ---> Edit Scheme 2、选择 RUN ---> Evironment Variables 3、添加键值对 : OS_ACTIVITY_MODE disable