解决办法 (1)Product -->Scheme -->Edit Scheme -->Run -->Arguments-->Environment Variables (2)添加一个属性值OS_ACTIVITY_MODE:disable