1、打開Product ---> Scheme ---> Edit Scheme 2、選擇 RUN ---> Evironment Variables 3、添加鍵值對 : OS_ACTIVITY_MODE? disable