解决方法:从xcode菜单中:Product > Scheme > Edit SchemeEnvironment Variables 添加一栏name:OS_ACTIVITY_MODE Value:disable