可以屏蔽打印警告: Product -> Scheme -> Edit Scheme在左侧栏选中Run,右侧栏选择Arguments在Environment Variable设置 OS_ACTIVITYMODE : disable